Replies: 1 comment
-
Not entirely sure I understand the request here, but you can type In any case, this is not related to NextAuth.js |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Provider type
Discord
Environment
Environment not relevant.
Reproduction URL
Not relevant
Describe the issue
Some provider's like Github take in the types (string | undefined) and some just take in string, this leads to inconsistent behavior between providers. An example is the Discord provider where you have to do like this:
And with some provider's you don't need the
as string;
.How to reproduce
Using a provider such as the Discord one will require you to do
as string;
and other providers not requiring it.Expected behavior
All provider's taking in (string | undefined)
Beta Was this translation helpful? Give feedback.
All reactions