Authentication
This module offers user authentication.
It supports logins with local credentials as well as popular identity providers.
TwoFactor authentication is also provided, with support for phone OTP and QR code.
Magic links are also supported, which can be used to log in without a password.
Features
- Local authentication with email/password
- Optional email verification (requires Email module)
- Forgot password
- Reset password
- Integration with third-party auth providers
- Apple
- BitBucket
- Figma
- GitHub
- GitLab
- Microsoft
- Slack
- Twitch
- Service account / API key
- Magic Link
- Optional 2FA supported on all strategies (requires SMS module)
- Optional account linking (supported when email is the same between providers)
Dependencies
Minimum Configuration
This module requires no configuration to get started.
Utilizes the Local Authentication strategy by default.
Environmental Variables
Name | Required | Description | Example |
---|---|---|---|
CONDUIT_SERVER | True | Conduit Core's address and port | 0.0.0.0:55152 |
SERVICE_URL | False | This should be where this service listens on. If behind a LB it should point to the LB's IP/DNS | 0.0.0.0:56154 |
GRPC_PORT | False | Port to be used by the gRPC server | 56154 |
GRCP_KEY | False | Specifying a secret enables gRPC signed request protection | someRandomSecret |