Skip to content

Introduce rotation of personal tokens in UI

What does this MR do and why?

Implements rotation of personal access token via the UI.

Screenshots or screen recordings

Screen_Recording_2024-10-22_at_0.24.08

How to set up and validate locally

  1. Go to http://localhost:3000/-/user_settings/personal_access_tokens
  2. Create a personal access token
  3. Click on the 'Rotate' button.
  4. Confirm that the token has changed, for example via
bundle exec rails console
PersonalAccessToken.last.token_digest

Related to #241523 (closed)

Edited by Henry Helm

Merge request reports

Loading