Added GitHub provider. Simplified FaceBook provider
This commit is contained in:
1 parent
2ad873a87f
commit
8b5fbe92d6
14 files changed
+290
-249
No files matched your search
@@ -10,6 +10,7 @@
|
||||
<!ENTITY EAP6Adapter SYSTEM "modules/eap6-adapter.xml">
|
||||
<!ENTITY SocialConfig SYSTEM "modules/social-config.xml">
|
||||
<!ENTITY SocialFacebook SYSTEM "modules/social-facebook.xml">
|
||||
<!ENTITY SocialGitHub SYSTEM "modules/social-github.xml">
|
||||
<!ENTITY SocialGoogle SYSTEM "modules/social-google.xml">
|
||||
<!ENTITY SocialTwitter SYSTEM "modules/social-twitter.xml">
|
||||
<!ENTITY SocialProviderSPI SYSTEM "modules/social-spi.xml">
|
||||
@@ -73,6 +74,7 @@
|
||||
</para>
|
||||
&SocialConfig;
|
||||
&SocialFacebook;
|
||||
&SocialGitHub;
|
||||
&SocialGoogle;
|
||||
&SocialTwitter;
|
||||
&SocialProviderSPI;
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<section id="social-github">
|
||||
<title>GitHub</title>
|
||||
<para>
|
||||
To enable login with Google you first have to create an application in
|
||||
<ulink url="https://github.com/settings/applications">GitHub Settings</ulink>. Then you need to copy
|
||||
the client id and secret into the Keycloak Admin Console.
|
||||
</para>
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Log in to <ulink url="https://github.com/settings/applications">GitHub Settings</ulink>. Click the
|
||||
<literal>Register new application</literal> button. Use any value for <literal>Application name</literal>,
|
||||
<literal>Homepage URL</literal> and <literal>Application Description</literal> you want. In <literal>Authorization callback URL</literal>
|
||||
enter the <link linkend="social-callbackurl">social callback url</link> for your realm. Click the
|
||||
<literal>Register application</literal> button.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Copy <literal>Client ID</literal> and <literal>Client secret</literal> from the
|
||||
<ulink url="https://github.com/settings/applications">GitHub Settings</ulink> into the settings
|
||||
page in the Keycloak Admin Console as the <literal>Key</literal> and <literal>Secret</literal>. Then click
|
||||
<literal>Save</literal> in the Keycloak Admin Console to enable login with Google.
|
||||
</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
</section>
|
||||
Reference in new issue
Block a user