Twitter
To enable login with Twtter you first have to create an application in the
Twitter Developer Console. Then you need to copy
the consumer key and secret into the Keycloak Admin Console.
Log in to the Twitter Developer Console. Click the
Create a new application button. Use any value for Name,
Description and Website you want. Insert the social callback url
in Callback URL. Then click Create your Twitter application.
Now click on Settings and tick the box Allow this application to be used to Sign in with Twitter,
then click on Update this Twitter application's settings.
Now click API Keys tab. Copy API key and API secret from the
Twitter Developer Console into the settings
page in the Keycloak Admin Console as the Key and Secret. Then click
Save in the Keycloak Admin Console to enable login with Twitter.
Twitter doesn't allow localhost in the redirect URI. To test on a local server
replace localhost with 127.0.0.1.