GitHub Authentication Module
This authentication module lets users log in to YouTrack with their GitHub credentials.
Enable GitHub Authentication
To allow users with existing GitHub accounts to log in to YouTrack, enable the GitHub authentication module.
This procedure takes place in three steps:
- Generate a Callback URL in YouTrack. When you create an authentication module for GitHub, YouTrack generates a callback URL to use with this service. This URL identifies the source of each login request to GitHub.
- Generate a Client ID and Secret in GitHub. Every login request sent from YouTrack to GitHub includes a unique identifier. The ID and secret you store in the authentication module tell GitHub that each login request is authorized.
- Enable the Auth Module in YouTrack. When you have generated the information YouTrack uses to authenticate with GitHub, copy the values into YouTrack and enable the module.
Prerequisites
Before you start, verify the following requirements:
- You have Create Auth Module and Update Auth Module permissions in YouTrack.
- You have a registered GitHub OAuth application.
Generate a Callback URL in YouTrack
- In the Access Management section of the Administration menu, select Auth Modules.
- From the Add Module drop-down list, select GitHub.
- The Auth Modules page displays the settings for a new GitHub authentication module.
- YouTrack generates a callback URL for you to use in GitHub.
- Copy the callback URL as instructed on the page.
- Click the link to access the New OAth Application page inGitHub.
Generate a Client ID and Secret in GitHub
- Log in to your GitHub account.
- Specify the general parameters to register a new OAuth application: Name, Homepage URL, and optional Application Description.
- In the Authorization callback URL, paste the callback URL you copied from the Auth Module page in YouTrack.
- Click the Register application button.
Enable the Auth Module in YouTrack
- Copy the client ID from GitHub and paste it into the Client ID input field in YouTrack.
- Copy the client secret from GitHub and paste it into the Client Secret input field in YouTrack.
- Configure the optional settings for the authentication module. For more information, see Settings.
- Click the Enable module button.
- The GitHub authentication module is enabled.
- The icon stored in the Button Image setting is added to the login dialog window. Users can click this icon to authenticate with their GitHub accounts.
Settings
Last modified: 2 February 2017