-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce user facing provider APIs #1022
Comments
@cathykc As the original author of #895, I would like to ask you, how strongly do you feel about Lines 226 to 242 in f2ad693
Example: <button
onClick={() => signIn("slack", {}, {user_scope: 'identity.basic,identity.email,identity.avatar'})}
>
Login
</button> Right now, there are 2 ways of doing it, and we could eventually keep both, I was just curious about your opinion. UPDATE: |
🎉 This issue has been resolved in version 3.2.0-canary.15 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.3.0-canary.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Currently, there are some "magical" 🧙 fields only utilized by specific providers. We could handle these edge cases internally instead. All providers have an
id
, which we can use to switch on different behaviors. It would also make it easier to keep a TypeScript provider interface simple, without the need for Discriminated Union or similarSome of these fields and which provider(s) use them (introduced in which PR):
setGetAccessTokenProfileUrl: mailru (feat(provider): Add Mail.ru OAuth Service Provider and Callback snippet #522 not yet implemented)The text was updated successfully, but these errors were encountered: