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

force openIddict options to validate on startup #1263

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

hahn-kev
Copy link
Collaborator

I had a minor bug where my server started up but would fail any authenticated request because it wasn't until then that the OpenIddict options were validated, this would fail the request, even if it doesn't use oauth. If there's an issue with the oauth config I would prefer if the server would come up and serve other requests, but at the very least this will prevent the server from starting at all and hopefully on a new deployment the old version would keep running.

Copy link

C# Unit Tests

90 tests   90 ✅  5s ⏱️
14 suites   0 💤
 1 files     0 ❌

Results for commit b970166.

Copy link
Contributor

@myieye myieye left a comment

Choose a reason for hiding this comment

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

LGTM 😎

@hahn-kev hahn-kev merged commit 3a69401 into develop Nov 25, 2024
7 of 8 checks passed
@hahn-kev hahn-kev deleted the chore/validate-oauth-config-on-startup branch November 25, 2024 03:05
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