georoot
georoot

Reputation: 3617

O-auth flow explanation in the case below?

From what i understand about the login process in oauth apps is that the client first gets redirected to oauth server and then back to webapp. Recently i noticed the authentication flow on freelancer.com specifically in there facebook login. There was no redirection to facebook servers. On clicking all i got is this page . How exactly are they doing this. I know that it is oauth because i initially granted the apps permissions but what is the authorization flow after that ?

Edit

Just to check if it was actually making the request i logged out of fb and tried again and i got

Upvotes: 0

Views: 24

Answers (1)

C3roe
C3roe

Reputation: 96306

the client first gets redirected to oauth server and then back to webapp

With the server-side login flow, yes.

But the client-side flow using the JS SDK does not need to redirect, but makes requests in the background. And it can recognize users that have already logged in to the app before, when they return to the site.

Upvotes: 1

Related Questions