Files
authentik/website/docs/users-sources/sources/social-logins/twitter/index.md
Dewi Roberts 154fba12e0 website/docs: add login page source note to all source docs (#14667)
* Updates all source documents with note on how to add source to login page

* Updated the wording on the guide itself

* Updated wording on notes

* Fixes capitalization on header

* Fixed broken links in google docs
2025-05-27 12:31:23 -05:00

1.6 KiB

title, support_level
title support_level
Twitter authentik

Allows users to authenticate using their twitter credentials

Preparation

The following placeholders are used in this guide:

  • authentik.company is the FQDN of the authentik installation.

Twitter

You will need to create a new project, and OAuth credentials in the Twitter Developer console.

  1. Visit https://developer.twitter.com/ to create a new App
  2. Select an environment fitting to your use-case
  3. Give the app a name, for example authentik
  4. Finish setting up the app by clicking App settings. Any of the API keys on this screen are not used by authentik.
  5. Click the Set up button

  1. Enable OAuth 2.0
  2. Set Type of App to Web
  3. Set Callback URI / Redirect URL to https://authentik.company/source/oauth/callback/twitter/
  4. Set Website URL to https://authentik.company

  1. Confirm with Save
  2. Copy and store Client ID and Client Secret for later

authentik

  1. Under Directory -> Federation & Social login Click Create Twitter OAuth Source

  2. Name: Choose a name (For the example I use Google)

  3. Slug: twitter (If you choose a different slug the URLs will need to be updated to reflect the change)

  4. Consumer Key: Your Client ID from step 25

  5. Consumer Secret: Your Client Secret from step 25

:::note For instructions on how to display the new source on the authentik login page, refer to the Add sources to default login page documentation. :::