You are viewing the documentation of an older version of the TiDB database (TiDB v5.0).

It is recommended that you use the latest LTS version of the TiDB database.

Share TiDB Dashboard Sessions

You can share the current session of the TiDB Dashboard to other users so that they can access and operate the TiDB Dashboard without entering the user password.

Steps for the Inviter

  1. Sign into TiDB Dashboard.

  2. Click the username in the left sidebar to access the configuration page.

  3. Click Share Current Session.

    Sample Step


    For security reasons, the shared session cannot be shared again.

  4. Adjust sharing settings in the popup dialog:

    • Expire in: How long the shared session will be effective. Signing out of the current session does not affect the effective time of the shared session.

    • Share as read-only privilege: The shared session only permits read operations but not write operations (such as modifying configurations). This feature is available only in v5.0.4 or a later version.

  5. Click Generate Authorization Code.

    Sample Step

  6. Provide the generated Authorization Code to the user to whom you want to share the session.

    Sample Step


    Keep your authorization code secure and do not send it to anyone who is untrusted. Otherwise, they will be able to access and operate TiDB Dashboard without your authorization.

Steps for the Invitee

  1. On the sign-in page of TiDB Dashboard, click Use Alternative Authentication.

    Sample Step

  2. Click Authorization Code to use it to sign in.

    Sample Step

  3. Enter the authorization code you have received from the inviter.

  4. Click Sign In.

    Sample Step

Was this page helpful?