Closed rmarscher closed 11 months ago
Does this support OAuth with the following providers?
Does this support OAuth with the following providers?
- Apple
- Discord
- Github
Yes. I reorganized recently so the provider implementation is all in this file: https://github.com/timothymiller/t4-app/blob/lucia/packages/api/src/auth/oauth.ts
They have been defined here and these types are imported in app code for type safety with the list of supported providers https://github.com/timothymiller/t4-app/blob/lucia/packages/api/src/auth/providers.ts
ex. https://github.com/rmarscher/t4-app/blob/lucia/packages/app/features/sign-in/screen.tsx#L18-L19
That being said... more testing wouldn't hurt. I have mostly been testing Google OAuth on web.
This includes the commits in #124 so if you merge that first it will make this PR a little easier to review. Thanks a lot.