Skip to content

Update middleware/jwt.go#68

Open
yhidai wants to merge 2 commits intoauth0-samples:masterfrom
yhidai:fix/cors-handling
Open

Update middleware/jwt.go#68
yhidai wants to merge 2 commits intoauth0-samples:masterfrom
yhidai:fix/cors-handling

Conversation

@yhidai
Copy link
Copy Markdown

@yhidai yhidai commented Apr 14, 2025

Here is the PR that addresses the following issue:

CORS requests to the API were failing, so I added WithValidateOnOptions(false) to the JWT middleware configuration to resolve the issue.

Copy link
Copy Markdown
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

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

LGTM

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