Provide method to switch Google accounts when configuring GKE cluster
Description
As a human, I make lots of mistakes, such as selecting the wrong Google account when I need to sign in to set up a GKE cluster
Currently, the only ways to switch accounts are to:
- click the back button on the browser to get back to the Google auth page
- manually visit the URL,
<namespace>/<repo>/providers/gcp/login
.
However, you have to know to go to that URL, as there's no way to "click back" to that page through our UI.
Proposal
First iteration
Provide a link on the gcp/new
form that simply links back to the gcp/login
page, so they can click the "Sign in with Google" button to pick a different account.
Second "best" iteration
Provide the same authentication link used for the "Sign in with Google" link from the gcp/login
page, on the gcp/new
page.
Links / references
Edited by Dennis Tang