Abramov
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Abramov on 4/28/2023 in #questions
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.
6 replies
TTCTheo's Typesafe Cult
•Created by Abramov on 4/18/2023 in #questions
Tailwind Intellisense - WebStorm
I hope this guide will help webstorm users.
WebStorm version - 2023.1 ,
Tailwindcss - 3.3.0
The problem:
Tailwind Intellesense doesn't work at all.
Solution:
- Change tailwind config file extension from .ts to .cjs and change code to this one:
Don't forget to save the file. And add to tsconfig.json:
2 replies