YouTrack Standalone 2021.2 Help

OpenID 2.0 Auth Module

In addition to the OpenID providers that are supported with built-in authentication modules, YouTrack lets you enable authentication for any OpenID provider that uses OpenID 2.0.

Enable OpenID Authentication

To allow users to sign in to YouTrack with OpenID authentication, enable an OpenID authentication module.

To enable OpenID authentication:

  1. From the Administration menu, select Access Management > Auth Modules.

  2. From the New module drop-down list, select OpenID 2.0.

    • The New Module dialog opens in the sidebar.

  3. In the New Module dialog, enter values for the following settings:

    FieldDescription
    NameEnter a name for the authentication module.
    Server URL

    Enter the server address of the OpenID provider. The provider defines the format that is required for the URL.

    For details, refer to the documentation of the OpenID provider.

  4. Click the Create button.

    • The OpenID authentication module is enabled.

    • The Auth Modules page displays the settings for the OpenID authentication module. For additional information about the settings on this page, see Settings.

      Auth module openid settings

    • The icon stored in the Button Image setting is added to the login dialog window. Users can click this icon to authenticate with their OpenID credentials.

      Login dialog with OpenID

Settings

The settings are configured automatically when the module is added to YouTrack. You do not have to change these settings. To configure the options that define how YouTrack treats new user accounts with OpenID credentials, see Additional Settings.

FieldDescription
TypeDisplays the name of the application or service that is enabled for third-party authentication in YouTrack.
NameStores the name of the authentication module. Use this setting to distinguish this module from other authentication modules in the Auth Modules list.
Button imageDisplays the image used for the button that a user clicks to log in to YouTrack with a their account in the connected authorization service. You can upload a JPG, GIF or PNG file. The image is resized to 48 x 48 pixels automatically.
Server URLStores the URL of the OpenID provider used to authenticate a login request in YouTrack.

Schema

Use the following settings to map user data stored with the OpenID provider to user accounts in YouTrack.

FieldDescription
EmailStores the location that contains the email address.
First NameStores the location that contains the first name of the user.
Last NameStores the location that contains the last name of the user.
Full NameStores the location that contains the full name of the user.
AvatarStores the location that contains the avatar of the user.

Additional Settings

When a user logs in to YouTrack with an OpenID account for the first time, YouTrack checks if an account with the same email address exists. If an account with the same email address exists, the OpenID credentials are added to the existing account.

Use the following settings to configure how YouTrack manages user accounts. These settings also let you reduce the loss of processing resources consumed by idle connections.

OptionDescription
User creationEnables creation of YouTrack accounts for unregistered users who log in with an account that is stored in the connected authorization service. YouTrack uses the email address to determine whether the user has an existing account.
Email auto-verificationDetermines how Hub sets the verification status of an email address when the authentication service does not return a value for this attribute.
Auto-join groupsAdds users to a group when they log in with an account that is stored in the connected authorization service. You can select one or more groups. New users that auto-join a group inherit all of the permissions assigned to this group.
We recommend that you add users to at least one group. Otherwise, a new user is only granted the permissions that are currently assigned to the All Users group.
Connection timeoutSets the period of time to wait to establish a connection to the authorization service. The default setting is 5000 milliseconds (5 seconds).
Read timeoutSets the period of time to wait to read and retrieve user profile data from the authorization service. The default setting is 5000 milliseconds (5 seconds).
AuditLinks to the Audit Events page in YouTrack. There, you can view a list of changes that were applied to this authentication module.
Last modified: 26 April 2021