keycloak-scim/docs/documentation/server_admin/topics/identity-broker/social/twitter.adoc

30 lines
1 KiB
Text
Raw Normal View History

2016-05-26 16:09:04 +00:00
[[_twitter]]
2016-05-26 16:09:04 +00:00
==== Twitter
.Prerequisites
. A Twitter developer account.
2016-05-26 21:33:13 +00:00
.Procedure
. Click *Identity Providers* in the menu.
. From the `Add provider` list, select `Twitter`.
+
.Add identity provider
image:images/twitter-add-identity-provider.png[Add Identity Provider]
+
. Copy the value of *Redirect URI* to your clipboard.
. In a separate browser tab, create an app in https://developer.twitter.com/apps/[Twitter Application Management].
.. Enter App name and click *Next*.
.. Note the value of `API Key` and `API Key Secret` and click *App settings*.
.. In the *User authentication settings* section click on the *Set up* button.
.. Select *Web App* as the *Type of App*.
.. Paste the value of the *Redirect URL* into the *Callback URI / Redirect URL* field.
.. The value for *Website URL* can be any valid URL except `localhost`.
.. Click *Save* and then *Done*.
. In {project_name}, paste the value of the `API Key` into the *Client ID* field.
. In {project_name}, paste the value of the `API Key Secret` into the *Client Secret* field.
. Click *Add*.