YouTrack Standalone 2018.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.

  1. In the Access Management section of the Administration menu, select 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:

    Field

    Description

    Name

    Enter 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 Module 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.

Field

Description

Type

Displays the name of the application or service that is enabled for third-party authentication in YouTrack.

Name

Stores the name of the authentication module. Use this setting to distinguish this module from other authentication modules in the Auth Modules list.

Button image

Displays 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 URL

Stores 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.

Field

Description

Email

Stores the location that contains the email address.

Email verification state

Determines which state should be set for an email address in YouTrack, when the authentication service does not return the verification status for an email address.

First Name

Stores the location that contains the first name of the user.

Last Name

Stores the location that contains the last name of the user.

Full Name

Stores the location that contains the full name of the user.

Avatar

Stores 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.

Option

Description

User creation

Enables 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.

Auto-join groups

Adds 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 timeout

Sets the period of time to wait to establish a connection to the authorization service. The default setting is 5000 milliseconds (5 seconds).

Read timeout

Sets 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).

Audit

Links to the Audit Events page in YouTrack. There, you can view a list of changes that were applied to this authentication module.

Last modified: 7 March 2019