Skip to content

Make scopes in application OAuth screen collapsible

Abh80 requested to merge gitlab-community/gitlab:abh80/patch-2 into master
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

This MR, makes scopes in application OAuth screen collapsible. See #467392

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Curently After -> Collapsed by default Expanded accordion
image OAuth_authorize__1_ OAuth_authorize__2_

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Head to https://gitlab.com/-/user_settings/applications create an app with scopes if not have (example scope : api, read_user, write repository)
  2. Visit the oauth authorize page of the application (eg. https://gitlab.com/oauth/authorize?client_id=<your-client-id>&response_type=code&redirect_uri=http://localhost&scope=api+read_user+write_repository)
Edited by Abh80

Merge request reports