keycloak-scim/server_admin/topics/identity-broker/social/twitter.adoc
2022-07-26 11:50:24 -04:00

29 lines
1 KiB
Text

[[_twitter]]
==== Twitter
.Prerequisites
. A Twitter developer account.
.Procedure
. Click *Identity Providers* in the menu.
. From the `Add provider` list, select `Twitter`.
+
.Add identity provider
image:{project_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 any value for name and description.
.. The value for *Website* can be any valid URL except `localhost`.
.. Paste the value of the *Redirect URL* into the *Callback URL* field.
.. When you create your Twitter app, note the value of *Consumer Key* and *Consumer Secret* in the *Keys and Access Tokens* section.
. In {project_name}, paste the value of the *Consumer Key* into the *Client ID* field.
. In {project_name}, paste the value of the *Consumer Secret* into the *Client Secret* field.
ifeval::[{project_community}==true]
. Click *Add*.
endif::[]
ifeval::[{project_product}==true]
. Click *Save*.
endif::[]