π Enhancement: Custom type for OAuth2Provider instead of string
probablyArth opened this issue Β· comments
Arth commented
π Feature description
Custom type for OAuth2Provider instead of string like the one used here in appwrite-react
https://github.com/sanny-io/react-appwrite/blob/main/src/account/types.ts
export type OAuth2Provider =
| 'amazon'
| 'apple'
| 'auth0'
| 'authentik'
| 'autodesk'
| 'bitbucket'
| 'bitly'
| 'box'
| 'dailymotion'
| 'discord'
| 'disqus'
| 'dropbox'
| 'etsy'
| 'facebook'
| 'github'
| 'gitlab'
| 'google'
| 'linkedin'
| 'microsoft'
| 'notion'
| 'okta'
| 'paypal'
| 'paypalSandbox'
| 'podio'
| 'salesforce'
| 'slack'
| 'spotify'
| 'stripe'
| 'tradeshift'
| 'tradeshiftBox'
| 'twitch'
| 'wordpress'
| 'yahoo'
| 'yammer'
| 'yandex'
| 'zoom'
π€ Pitch
It can provide better developer experience.
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
Jyoti Bisht (Joe) commented
Hi, thank you for the suggestion.
This might be a bit difficult since we use the SDK generator for everything. However, your idea is appreciated and I will keep this issue open for now in case there are others from the community interested in discussing this.
Steven Nguyen commented
@probablyArth this looks like a duplicate of appwrite/appwrite#426. Can we close this and you can π the other issue?