Authentication
Marmot supports multiple OAuth/OIDC providers for Single Sign-On authentication. You can enable multiple providers simultaneously, and users will see login buttons for all enabled providers.
Supported Providers
How It Works
- Email-Based LinkingUser accounts are linked by email address across all providers
- Multiple ProvidersEnable as many providers as you need - users choose at login
Prerequisites
Before configuring any authentication provider, you must set server.root_url to the public URL of your Marmot instance. This is used to generate OAuth callback URLs.
server:
root_url: https://marmot.example.com
Or via environment variable:
export MARMOT_SERVER_ROOT_URL=https://marmot.example.com
Setup Steps
Each provider requires:
- Set
server.root_url- The public URL users access Marmot from - Create OAuth App - Register an application in the provider's developer console
- Configure Marmot - Add credentials via environment variables or config file
- Restart Marmot - Changes take effect after restart
See individual provider guides above for detailed setup instructions.