Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: when using a credential script, re-auth on 401s #2180

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Jul 5, 2023

This handles the Zapi and ZapiPerf case.
Will add Rest and StorageGRID after this approach is reviewed

}
return err
}

func (c *Client) fetchToken() error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a comment to these methods indicating that they should not be used directly? This may also be applicable to other areas as needed.

@cgrinds cgrinds merged commit 4c30567 into main Jul 6, 2023
@cgrinds cgrinds deleted the cbg-issue-2168-reauth branch July 6, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants