Support the ongoing development of Laravel.io →
posted 8 years ago
Requests
Last updated 2 years ago.
0

I am still looking for the solution and I found some other article in this topic.

Now I know that, after the succesful OAuth authentication I receive a token variable, which can be used for requesting user data like this:

https://graph.facebook.com/me?fields=name,email&access_token=CAAXFV....i31ytAZDZD

So if after the OAuth I store this token, than I can check, if the request gives me 200 (lgging in) or 400 (force to re authenticate with OAuth), but I am not sure, this is the real way to do?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

svolenszki svolenszki Joined 21 Oct 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.