Skip to content
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

fix(oauth): add generic OAuthConfig type #18

Merged
merged 6 commits into from
Nov 20, 2023

Conversation

sifferhans
Copy link
Contributor

I noticed a separate OAuthConfig interface was defined for every provider, where only the config type was differing between them.

I thought maybe it might make sense to have a generic OAuthConfig type shared between them.
If it doesn't make sense, is there a reason why?

@sifferhans
Copy link
Contributor Author

Also, what is the best way to import the OAuthConfig type in the providers? I used a relative path for now, but I'm aware that might cause problems

@atinux
Copy link
Owner

atinux commented Nov 13, 2023

Happy to quickly look at it @danielroe about where the best place to have a generic type?

@danielroe danielroe requested a review from atinux November 15, 2023 14:31
@atinux atinux merged commit 5b060b8 into atinux:main Nov 20, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants