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
How to set up and validate locally
- Enable
incubation_5mp_google_cloud
feature flag for a test project - In GitLab web ui, navigate to project
- Go to
Infra :: Google Cloud
page - Press the
Create service account
button - Cancel the Google OAuth2 process in step 2
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Sri Rang