Laravel & Dingo: Secure API with Facebook / Google Login

I developed an API in Laravel with the Dingo Framework. Now I want to access the API using Facebook and / or logging in to Google (e.g. using OAuth).

Is there a textbook or something like that? I do not know how to integrate protected API access into my api.

Thank!

+4
source share
1 answer

Some links that may point you in the right direction:

Dingo seems to support ( https://github.com/dingo/api/wiki/Authentication ) OAuth2 through https://github.com/thephpleague/oauth2-server

then check these related packages.

https://github.com/thephpleague/oauth2-facebook

0

Source: https://habr.com/ru/post/1649680/


All Articles