Advanced
brenner@brenner
12/18/2022

I think I might be the first one ever to use next-auth, tRPC, and SIWE all together. Which is... not easy so far =/

In reply to @brenner
brenner@brenner
12/19/2022

Ok who is willing to explain auth stuff to me plz? Next-auth, SIWE, JWTs, saving sessions to a db, etc

In reply to @brenner
12/19/2022

Feel your pain man. Been using this stack coupled with Lit Protocol for auth and it can be overwhelming.

In reply to @brenner
Ivy Astrix@ivy
12/19/2022

also working on it now!!

In reply to @brenner
Elie@elie
12/19/2022

There’s a tutorial of siwe with next auth. Get something basic set up. Once the basic apis are working you can add trpc on top.

In reply to @brenner
Karthik Senthil@karthiksenthil
12/19/2022

We use them for chainstory. Not fun lol

In reply to @brenner
0xMert@mert
12/19/2022

pain

In reply to @brenner
Ash@aes
12/19/2022

if building on aws, congitio is prefect for this, theres a way to make it compatible with SIWE. Benefits are you can add JWT sessions, permissions, email and MFA. Then you can also use dynamodb.