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

handle JWKS fetch failures #96

Merged
merged 2 commits into from
Oct 25, 2022
Merged

Conversation

nov
Copy link
Collaborator

@nov nov commented Oct 20, 2022

which often results in 502 bad gateway

@nov nov force-pushed the feature/better_error_handling branch 2 times, most recently from a05710f to 34c98da Compare October 24, 2022 07:46
Comment on lines +90 to +91
else
{}
Copy link
Owner

Choose a reason for hiding this comment

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

What situation is this supposed to be?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

even calling fail!, id_info['sub'] is called in info do ... end block.
so returning nil results in NoMethodError: undefined method '[]' for nil:NilClass

Copy link
Owner

Choose a reason for hiding this comment

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

thanks, make sense.

@nov nov force-pushed the feature/better_error_handling branch from 34c98da to c64bbf9 Compare October 25, 2022 06:10
@nov nov merged commit 5a43139 into nhosoya:master Oct 25, 2022
@nov nov deleted the feature/better_error_handling branch October 25, 2022 06:11
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