Getting next-auth-steam to work
I need some help getting steam auth to work with next.
I am getting an
Error: This action with HTTP GET is not supported by NextAuth.js
(See attached image)
This is my app/auth/[...nextauth]/route.js file:
Anyone else run into this? Am I doing something wrong? Any help would be greatly appreciated.
Also these are my package versions:
Solution:Jump to solution
The reason why this was not working is because I had this in my page.js
How you actually get it working is by actually following the example here:...
GitHub
next-auth-steam/examples/app-router/app/page.tsx at master · Nekony...
steam authentication provider for next-auth. Contribute to Nekonyx/next-auth-steam development by creating an account on GitHub.
GitHub
next-auth-steam/examples/app-router/app/Sign.tsx at master · Nekony...
steam authentication provider for next-auth. Contribute to Nekonyx/next-auth-steam development by creating an account on GitHub.
1 Reply
Solution
The reason why this was not working is because I had this in my page.js
How you actually get it working is by actually following the example here:
https://github.com/Nekonyx/next-auth-steam/blob/master/examples/app-router/app/page.tsx
By using this file:
https://github.com/Nekonyx/next-auth-steam/blob/master/examples/app-router/app/Sign.tsx
GitHub
next-auth-steam/examples/app-router/app/page.tsx at master · Nekony...
steam authentication provider for next-auth. Contribute to Nekonyx/next-auth-steam development by creating an account on GitHub.
GitHub
next-auth-steam/examples/app-router/app/Sign.tsx at master · Nekony...
steam authentication provider for next-auth. Contribute to Nekonyx/next-auth-steam development by creating an account on GitHub.