Facebook OAuth Authentication Example
Last updated
Last updated
This is how an integration with Facebook OAuth 2.0 authentication would work:
First, a user creates an application in https://developers.facebook.com/. Their Facebook application App ID and App Secret must be loaded in the 'General' tab in the 'Client ID' and 'Client Secret' fields, respectively.
In the Facebook application Settings → Advanced menu, they must enter their Thinfinity® Workspace URL: "https://<Thinfinity>/oauth2" as “Valid OAuth redirect URIs” under the 'Client OAuth Settings" title.
Then in the 'Server' tab, they must indicate that the Server Kind is 'Custom' and then fill in the rest of the values like this, altough Thinfinity® Workspace comes with different authentication methods already configured :
Authorization URL: https://www.facebook.com/dialog/oauth
Other Keys: scope=email
Token Validation URL: https://graph.facebook.com/oauth/access_token
Profile Information URL: https://graph.facebook.com/me?fields=email
Login Username value in returned JSON: email
Finally, in the 'Mapping' tab, they must match the emails of the users that will be validated with Facebook with their corresponding Windows user for Thinfinity® Workspace.