Skip to content

Workaround OAuthAccountNotLinked error#5371

Closed
DanielAtCosmicDNA wants to merge 1 commit intonextauthjs:mainfrom
DanielAtCosmicDNA:patch-1
Closed

Workaround OAuthAccountNotLinked error#5371
DanielAtCosmicDNA wants to merge 1 commit intonextauthjs:mainfrom
DanielAtCosmicDNA:patch-1

Conversation

@DanielAtCosmicDNA
Copy link
Copy Markdown

Add refresh_token_expires_in attribute to User model to workaround a similar problem to the one reported in this issue

☕️ Reasoning

What changes are being made? What feature/bug is being fixed here?

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

Please scout and link issues that might be solved by this PR.

Fixes: INSERT_ISSUE_LINK_HERE

📌 Resources

Add `refresh_token_expires_in` attribute to User model to workaround a similar problem to the one reported in [this issue](nextauthjs#1446)
@vercel
Copy link
Copy Markdown

vercel bot commented Sep 17, 2022

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

Name Status Preview Updated
next-auth ✅ Ready (Inspect) Visit Preview Sep 17, 2022 at 2:16PM (UTC)

@vercel vercel bot temporarily deployed to Preview September 17, 2022 14:16 Inactive
@palminha
Copy link
Copy Markdown

@DanielAtCosmicDNA same problem here with a different parameter: #5454

@balazsorban44
Copy link
Copy Markdown
Member

Since this is not part of most providers, it should be solved on a per-provider basis, in user code.

@balazsorban44
Copy link
Copy Markdown
Member

If this is GitHub, it's already documented as well: https://next-auth.js.org/providers/github

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.

3 participants