Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

brandonferens's avatar

How to Secure an API using OAuth

This topic was requested way back here: https://laracasts.com/forum/?p=1431-how-to-secure-an-api-using-oauth2/0

I'm adding my vote to the list, along with other previous requesters.

0 likes
32 replies
equipc's avatar

It would be nice of Jeffray continues to add episodes in the API series

3 likes
bagwaa's avatar

I imagine this is going to be quite easy now with Socialize

1 like
codedungeon's avatar

OAuth lesson is coming to the API series in the near future. There are some more pressing lessons w/ all the new Laravel 4.3 stuff. But rest assured, it will be there soon

3 likes
igaster's avatar

+1 vote.

it would also be intresting to see how to secure an API with public/secret keys (eg Facebook/S3 APIs). oAuth is only usefull when authenticating each User to access the API.

psmail's avatar

+1. I'd put a larger number but I believe it to be a breach of etiquette.

bluescreen's avatar

+1

Would be great to see how to create an oauth authorization and resource server with laravel!

jamesaps's avatar

I agree. I think the API series is the most relevant to anything any of us will actually be making with Laravel.

davorminchorov's avatar

Jeffrey said that the Incremental APIs series is finished. Maybe some day we will get more API lessons / series.

+1 for How to Secure APIs with OAuth 2 (and maybe JWT!)

Next

Please or to participate in this conversation.