Auto expand token creation form if URL parameters are included

Problem to Solve

With the changes in !127853 (merged) integration developers can no longer provide their users with a URL (complete with parameters) to setup a personal access token. Example:

https://gitlab.com/-/profile/personal_access_tokens?name=IntelliJ%20IDEA%20GitLab%20Integration%20Plugin&scopes=api%2Cread_user

That URL would previously provide a name for the token, and the required scopes to make it easy for users to get their personal access token setup properly. Now, when following that URL, you have to click to expand the form to be able to create a token.

Proposal

If the access tokens page is accessed with URL parameters then the form should automatically be expanded so that users understand the next steps and can get started with their integrations easily.

Edited Jun 30, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading