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

[Provider][Strava] Convert profile.id to String to use with Prisma Adapter #11960

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

x2764tech
Copy link

☕️ Reasoning

Strava Provider returns profile.id as integer, however, Prisma Adapter expects a String (and does type checking at run time)
We need to convert the id (as integer) returned from the userinfo endpoint to a string

🧢 Checklist

  • Tested locally
  • Ready to be merged

🎫 Affected issues

Fixes: #11013

@x2764tech x2764tech requested a review from ThangHuuVu as a code owner October 3, 2024 15:19
Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 3:24pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 3:24pm

Copy link

vercel bot commented Oct 3, 2024

@x2764tech is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core` providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strava provider returns Int for providerAccountId but Prisma adapter is expecting a String
1 participant