Sam
Sam
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Nice
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Ah so they’re auto-typed
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Is that in one of the callbacks of the Provider or?
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Actually one (small) other question, all the data inputs you’re taking in the adapter, where are they defined?
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Thanks for those resources!
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
I’ll give that a test out then and see where I get with it
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Nice that it’s open source too 🙂
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
🫡
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Ahhh true
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Cool bot by the way! I like the concept of the website too
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
I’ll take a look through your implementation and see how it works compared to my use case
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
This seems like the best way to do it by the looks of it for full control
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Thanks for this!
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
What’s better practise though for only a single OAuth account? Do people normally modify the User table or would they just find the Account entry every session callback?
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
That makes sense because I knew the invocation had to come from somewhere that wasn’t me 😂
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/15/2023 in #questions
NextAuth + DiscordProvider
Ahh I see
28 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/1/2023 in #questions
Dockerized T3 giving prisma connection errors
My prisma if it means anything
generator client {
provider = "prisma-client-js"
binaryTargets = ["linux-musl-openssl-3.0.x"]
}

datasource db {
provider = "mysql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
binaryTargets = ["linux-musl-openssl-3.0.x"]
}

datasource db {
provider = "mysql"
url = env("DATABASE_URL")
}
4 replies
TTCTheo's Typesafe Cult
Created by Sam on 11/1/2023 in #questions
Dockerized T3 giving prisma connection errors
I also bash'd into the docker container and pinged srv-captain--kobos-db and it worked fine.
4 replies