Open Nik-Novak opened 2 months ago
Can anyone assist? I've narrowed it down significantly
I encountered the same issue, and upon reviewing the source code, I found that the token.request
method was never actually called.
In version 4, the token.request
method is called, but in version 5, I only found the userinfo.request
method being called.
I encountered the same issue, and upon reviewing the source code, I found that the
token.request
method was never actually called.In version 4, the
token.request
method is called, but in version 5, I only found theuserinfo.request
method being called.
I've noticed the same thing.
I encountered the same issue, and upon reviewing the source code, I found that the
token.request
method was never actually called. In version 4, thetoken.request
method is called, but in version 5, I only found theuserinfo.request
method being called.I've noticed the same thing.
In this issue https://github.com/nextauthjs/next-auth/issues/10732#issuecomment-2082463907, the author has responded to the question.
I encountered the same issue, and upon reviewing the source code, I found that the
token.request
method was never actually called. In version 4, thetoken.request
method is called, but in version 5, I only found theuserinfo.request
method being called.I've noticed the same thing.
In this issue #10732 (comment), the author has responded to the question.
Thanks for coming back to post, renewed my hope lol
I have the same issue open in Discussions.
@Nik-Novak
Thanks for coming back to post, renewed my hope lol
Nik, in the end, did you manage to fix this issue? I'm really interested if you did, because I need to use steam provider with authjs v5
Environment
Reproduction URL
https://github.com/Nik-Novak/Mind-Knight
Describe the issue
I use a custom provider (https://github.com/Nekonyx/next-auth-steam) to enable steam sign in using steam's OpenId 2.0 support (not OpenID connect)
After requiring an upgrade to V5, the provider no longer works with the following:
I've rewritten the provider to match any new formats but to no avail:
How to reproduce
clone that repo, provide a .env file with the following:
NODE_ENV="development" MINDNIGHT_WS="ws://thehardcoders.de:6543" DATABASE_URL="ANY MONGO DATABASE URL" NEXTAUTH_SECRET="5Esdlji1tsasdasgLGZMxqOkF32345rdfs1dxcKzkVtfY=" NEXTAUTH_DISCORD_CLIENTID="234234234234" NEXTAUTH_DISCORD_SECRET="UcADFasfasF234GYCW4" NEXTAUTH_STEAM_SECRET="1EDC0D204A7716E809F0B2DABE207BE7" # # # # # Used as API key from PHP sample steam NEXTAUTH_URL="http://localhost:3000" NEXT_PUBLIC_SERVEREVENTS_WS="ws://localhost:5347" NEXT_PUBLIC_API_BASEPATH="http://localhost:3000/api" WS_NO_BUFFER_UTIL=true # # # # # fix for bug when large text is sent NEXT_PUBLIC_SUPPORT_URL="https://discord.gg/eEjA8ZNm3S" ADMIN_STEAMIDS="76561175373023231"
Expected behavior
https://github.com/Nekonyx/next-auth-steam
Should work as it did before V5.