2014-02-05 10:53:49 +00:00
|
|
|
<section id="social-github">
|
|
|
|
<title>GitHub</title>
|
|
|
|
<para>
|
2014-08-18 14:48:28 +00:00
|
|
|
To enable login with GitHub you first have to create an application in
|
2014-02-05 10:53:49 +00:00
|
|
|
<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
|
2015-01-13 18:50:44 +00:00
|
|
|
<literal>Save</literal> in the Keycloak Admin Console to enable login with GitHub.
|
2014-02-05 10:53:49 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</orderedlist>
|
|
|
|
</section>
|