Lobster
Lobster
TTCTheo's Typesafe Cult
Created by Lobster on 11/18/2023 in #questions
Getting next-auth-steam to work
The reason why this was not working is because I had this in my page.js
<Link href="/api/auth/steam" className="text-blue-400 hover:text-blue-200 font-semibold underline text-lg mt-6">Log in</Link>
<Link href="/api/auth/steam" className="text-blue-400 hover:text-blue-200 font-semibold underline text-lg mt-6">Log in</Link>
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
4 replies