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 prisma schema for NextAuth.js with GitHub login #104

Merged
merged 1 commit into from Dec 24, 2023

Conversation

elie222
Copy link
Contributor

@elie222 elie222 commented Dec 3, 2023

Fixes #95:

https://next-auth.js.org/providers/github

GitHub returns a field on Account called refresh_token_expires_in which is a number. See their docs. Remember to add this field to your database schema, in case if you are using an Adapter.

@nicoalbanese nicoalbanese merged commit 522ca84 into nicoalbanese:master Dec 24, 2023
@nicoalbanese
Copy link
Owner

Thanks!

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.

GitHub login broken for Next Auth
2 participants