How to add a custom OAuth service? #86
-
|
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.
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.
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