console
console copied to clipboard
Additional specific or custom SSO Provider
Is your feature request related to a problem?
In self-hosted environment some of the enthusiasts use many other SSO providers like Authentik or Authelia. In the current implementation there are only three options available: Google, GitHub and Gitlab. Only one of them in theory could be hosted in own lab environment (if we talking about something like community editions of the software). The other two are managed by external organizations. These three mentioned SSO providers may not be the most suitable options for self managed use case. Some of the developers may not want to link with external accounts, if they self-host everything or if they want to simply test out the software locally.
Describe the solution you'd like
Could it be possible to add other provider options? From what I see in the code, Phase uses next-auth
library which contains many other provider configurations e.g. Authentik. The other option, if addition of specific providers is tedious, could be to let the user configure custom provider NextAuth.js: Using a custom provider in more flexible manner. For example to load custom provider configuration from .js
file.
Describe alternatives you've considered
Implement classic user registration/login form instead of configuring SSO provider.