Elias
TTCTheo's Typesafe Cult
•Created by Elias on 10/31/2023 in #questions
Session is null using new App router
I was setting up a project yesterday and decided to try the new App router, I implemented my Auth provider. Logged in successfully but the session is null. Anyone got a clue what might be causing this?
2 replies
TTCTheo's Typesafe Cult
•Created by Elias on 5/29/2023 in #questions
OpenId Connect Provider
Hey Guys, im trying to implement a custom oidc auth provider, i've checked the Auth.js / NextAuth docs and it seems you are supposed to implement it the following way
{
... provider details
} satisfies OIDCConfig<any>,
for some reason im getting an error "Type '{ type: "oidc"; }' is not assignable to type 'Provider'.
Types of property 'type' are incompatible.
Type '"oidc"' is not assignable to type '"email" | "oauth" | "credentials"'"
Anyone ever implemented an oid provider befor and could help?
1 replies