Skip to content

Fixup Google OAuth2 return URL

What does this MR do and why?

Minor fixup to the return URL of the Google OAuth2 process.

When user declines permissions, it should return to google_cloud/index and not google_cloud/service_accounts.

Screenshots or screen recordings

cancel-oauth2-demo

How to set up and validate locally

  1. Enable incubation_5mp_google_cloud feature flag for a test project
  2. In GitLab web ui, navigate to project
  3. Go to Infra :: Google Cloud page
  4. Press the Create service account button
  5. Cancel the Google OAuth2 process in step 2
  6. It should return you to the project google cloud index page, rather than take you back to Google OAuth2 step 1

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sri Rang

Merge request reports