Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

fix: add SAML challenge to reauth#819

Merged
arithmetic1728 merged 13 commits intomainfrom
reauth
Sep 7, 2021
Merged

fix: add SAML challenge to reauth#819
arithmetic1728 merged 13 commits intomainfrom
reauth

Conversation

@arithmetic1728
Copy link
Copy Markdown
Contributor

@arithmetic1728 arithmetic1728 commented Jul 29, 2021

This PR:

(1) re-add SAML challenge to reauth. It throws exception to fail early, and the exception is used by gcloud to instruct the users to do gcloud auth login. Without it, SAML users have to enter password 5 times then fail.

(2) when creating user credential, read rapt_token field from the json file if exists.

(3) disable reauth flow for user credentials and add a new enable_reauth_refresh flag to user credentials constructor.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 29, 2021
@arithmetic1728 arithmetic1728 marked this pull request as ready for review July 29, 2021 19:27
@arithmetic1728 arithmetic1728 requested review from a team and silvolu as code owners July 29, 2021 19:27
@arithmetic1728 arithmetic1728 merged commit 13aed5f into main Sep 7, 2021
@arithmetic1728 arithmetic1728 deleted the reauth branch September 7, 2021 23:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants