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

Fix schema #1

Merged
merged 5 commits into from
Jun 11, 2024
Merged

Fix schema #1

merged 5 commits into from
Jun 11, 2024

Conversation

silverlyra
Copy link
Owner

If a schema is defined in the jwt() options, use that type exactly. Otherwise, use the JWTPayload type from jose.

Fixes elysiajs#15.
Fixes elysiajs#20.

@silverlyra silverlyra merged commit 6a673ca into main Jun 11, 2024
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.

Type definition for payload doesn't allow complex data structures Jwt verify problems
1 participant