How to add a custom OAuth service? #86
Answered
by
KMKoushik
livingsilver94
asked this question in
Q&A
-
I see that NextAuth supports custom OAuth providers but SplitPro only offers Google. I'd like to use Authelia for my self-hosted SplitPro instance. NextAuth documents how to register a custom provider pretty well but I don't know how to integrate the snippet the documentation provides in SplitPro. Help would be appreciated :) |
Beta Was this translation helpful? Give feedback.
Answered by
KMKoushik
Aug 27, 2024
Replies: 1 comment 1 reply
-
you can add the provider here, but should be enabled based on the env variables. Here is an example for conditional adds https://github.com/unsend-dev/unsend/blob/main/apps/web/src/server/auth.ts#L55 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
KMKoushik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can add the provider here, but should be enabled based on the env variables.
Here is an example for conditional adds https://github.com/unsend-dev/unsend/blob/main/apps/web/src/server/auth.ts#L55