On This Page
Social Login overview
Okta allows your users to sign in to your app using credentials from external social identity providers. After the user has successfully authenticated, they are returned to your app, and their social profile information is pulled into your Okta directory.
Currently Okta supports the following social identity providers:
Configuring social login with Okta allows you to use the following features:
User Registration: Capture the Profile attributes from a social Identity Provider user and store those attributes in Okta's Universal Directory.
User Authentication: After a user is registered, continue to use that social Identity Provider for user authentication, thus eliminating the need to store an additional username and password for that user.
Social Profile Sync: If a user updates their social profile, those changes can be reflected inside Okta the next time that they use social login.
Support for Multiple Social Profiles Multiple social profiles can all be linked to one Okta user.
OAuth 2.0 Scope Configuration: Specify OAuth 2.0 scopes to fully control which social profile attributes are linked to Okta.
The social login process starts at the authentication endpoint, then goes out to the provider and back:
- The user who wants to authenticate clicks a "Sign in with x" link.
- The user authenticates and is asked by the provider to accept the permissions required by your app.
- After the user accepts the permissions, Okta handles the authentication and redirects the user back to your specified redirect URI.
Social authentication requests are canceled if not completed within 15 minutes.
To set up social login, configure the following:
- An OAuth 2.0 client in your social provider
- An Identity Provider in Okta
- An OpenID Connect Application in Okta
Every Identity Provider in Okta is linked to an Application, and every time a user signs in with a social Identity Provider for the first time, an Application User is created for them. The Application User represents the external user at the social Identity Provider and can be used to map attributes to the Okta User. See Social Identity Provider settings for more information about how to configure this behavior.