Overview
Keep supports OneLogin as an authentication provider, enabling:- Single Sign-On (SSO) via OneLogin
- OAuth2/OIDC authentication flow
- Token refresh capabilities
- Role-based access control through custom claims
- Session management through NextAuth.js
Environment Variables
Backend Environment Variables
Frontend Environment Variables
OneLogin Configuration
Creating a OneLogin Application
- Sign in to your OneLogin Admin Console
- Navigate to Applications
- Click Add App
- Search for OpenId Connect (OIDC) and select it
- Click Save
Application Settings
- Display Name: Enter a name for your application (e.g., “Keep”)
- Redirect URIs: Enter your app’s callback URL, e.g.,
https://your-keep-domain.com/api/auth/callback/onelogin - Login URL: Enter your app’s login URL, e.g.,
https://your-keep-domain.com/signin - Role Mapping:
- Go to the Parameters tab
- Map the groups to user roles or groups with the default value being semicolon delimited input values
- Go to the SSO tab and configure:
- Application Type: Web
- Token Endpoint: Client Secret Post
- Access:
- Assign to appropriate roles or users
- Click Save
- Copy the client id, client secret and issuer URL from the SSO tab

