Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
5 replies
Nick

Is there any good way to implement Steam-Auth in NEXTJS app?

We have next-auth - and it's great.
But next-auth doesn't support steam as a provider because steam is stupid shit.
So the best way to implement steam-auth it's by using steam-passport

But dude, I don't wanna create getServerSideprops in every page file.
And the way is kinda strange to me. (https://github.com/HilliamT/nextjs-steam-auth)

It will be easier if we have hook - useSession and a provider.
Please, if you have any example of using steam-auth share it. poohheh
GitHub
An example NextJS application that configures Passport-based Steam authentication via Next Connect - GitHub - HilliamT/nextjs-steam-auth: An example NextJS application that configures Passport-base...
GitHub - HilliamT/nextjs-steam-auth: An example NextJS application ...
Was this page helpful?