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

Better error handling for OIDC warmup errors, resolves #77 #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomk3003
Copy link

@tomk3003 tomk3003 commented Oct 1, 2024

Here my first shot at this.
I think a callback provides a bit of flexibility for the user.
The name might be a bit long though.

@tomk3003 tomk3003 changed the title Better error handling for OIDC warmup errors, targets #77 Better error handling for OIDC warmup errors, resolves #77 Oct 1, 2024
@guest20
Copy link

guest20 commented Oct 1, 2024

Is it worth having this callback available outside of each provider too, so one can add a bunch of urls and then have a common callback deal with failures from each of them?

@tomk3003
Copy link
Author

tomk3003 commented Oct 1, 2024

Yes, the callback could be an attribute, but then the provider name should be added to the provider hash to make identification easier.
I'll wait for more comments on that.
I'd rather not have both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants