forked from jhipster/jhipster.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tip for enabling social login with oauth2
related to jhipster/generator-jhipster#7308
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
layout: default | ||
title: Enabling Social Login with OAuth2 | ||
sitemap: | ||
priority: 0.1 | ||
lastmod: 2018-03-18T18:20:00-00:00 | ||
--- | ||
# How to Enable Social Login with OAuth2 | ||
|
||
When using the OAuth2 authentication type, your app connects to an OpenID Connect server such as Okta or Keycloak. It's possible to enable social login by adding external identity providers within the admininistration console. | ||
|
||
## Adding an Identity Provider with Okta | ||
|
||
Okta supports Facebook, Microsoft, Google, LinkedIn, and Custom SAML providers. | ||
|
||
Log into the Okta console and navigate via the menu to "Users" -> "Social & Identity Providers". Choose "Add Identity Provider" and add the provider of your choice. Make sure to completely follow Okta's setup instructions which guide you in obtaining the client ID and secret for each provider. | ||
|
||
## Adding an Identity Provider with Keycloak | ||
|
||
Keycloak supports GitHub, Twitter, Facebook, Openshift, Google, Gitlab, LinkedIn, Microsoft, BitBucket, StackOverflow, and Custom SAML providers. | ||
|
||
Log into the Keycloak administration console and choose "Identity Providers" from the left menu. Follow the instructions found in the [Keycloak Social Login documenation](http://www.keycloak.org/docs/3.0/server_admin/topics/identity-broker/social-login.html) to configure the provider and obtain the client ID and secret. |