Cant import providers
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
Get type error when using import saying "Type 'string | undefined' is not assignable to type 'string'"
5 Replies
@Barbary Lion Get type error when using import saying "Type 'string | undefined' is not assignable to type 'string'"
hi, try this
clientId: `${process.env.FACEBOOK_CLIENT_ID}`also you may want to try this package
https://env.t3.gg/docs/introduction
https://env.t3.gg/docs/introduction
for the next-auth provider, what version of next-auth are you using?
Barbary LionOP
I gave up with using nextauth, started using clerk instead. much easier
ah ok 😀