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?
0 Replies