Authentication Settings
The Authentication section of the Console controls which authentication methods are available to users of your tenant, and how those methods behave. Changes take effect immediately — no restart or deployment is required.
Social Providers
Auris supports nine OAuth 2.0 / OpenID Connect social providers. Enabling a social provider adds a corresponding login button to the hosted login page.
Supported Providers
Enabling a Social Provider
Open the Social Providers section
Go to Console → Authentication and open the Social Providers tab.
Enable the provider
Click the toggle next to the provider name to enable it. The configuration fields expand.
Enter application credentials
For each provider, you must obtain a Client ID and Client Secret from the provider’s developer portal:
Store these values in the provider’s configuration fields in the Console. They are stored encrypted at rest.
Configure the callback URL
Each provider requires you to register an Authorized Redirect URI (or Callback URL) in its developer portal. The required value is displayed in the Console next to the provider’s configuration form:
https://[your-auris-domain]/api/auth/social/callbackRegister this URL exactly in the provider’s portal. The URL must match exactly — protocol, hostname, port, and path.
Set optional scopes
By default, Auris requests the minimum scopes needed to obtain the user’s email address and display name. To request additional scopes (for example, calendar.read for Google), enter them in the Additional Scopes field as a space-separated list.
When a user authenticates via a social provider for the first time, Auris creates a new user account using the email address returned by the provider. If an account with that email already exists, the social identity is linked to the existing account automatically (unless the existing account requires a different primary authentication method per your policy).
Passwordless / Magic Links
Magic links allow users to authenticate by clicking a link sent to their email address, without a password. The link contains a short-lived token that is valid for a single use.
Enabling Magic Links
Go to Authentication → Passwordless and toggle Magic Links on.
Configuration Options
Allow Signup
When enabled, clicking a magic link for an email address that does not exist in your tenant automatically creates a new account. When disabled, magic links only work for existing users.
Disable this if you want to control user registration through invitation-only workflows or manual user creation.
Token Expiry
Magic link tokens are single-use and short-lived. After the configured expiry time, the link becomes invalid and the user must request a new one. The recommended range is 10–30 minutes.
For implementation details, see Magic Links.
SMS OTP
SMS OTP enables phone number-based authentication: a one-time code is sent via SMS and the user enters it to authenticate. SMS OTP can be used both as a primary passwordless factor and as a second factor for MFA.
Enabling SMS OTP
Go to Authentication → SMS OTP and toggle it on.
Provider Configuration
Auris uses Twilio for SMS delivery in production. Configure your Twilio credentials:
Use Console Logging mode during development and testing to avoid Twilio API charges.
Rate Limits
SMS OTP codes have built-in rate limiting to prevent abuse:
If a user exhausts their attempts on a single code, they must request a new one.
MFA Settings
Multi-factor authentication (MFA) adds a second verification step after password authentication. Auris supports three MFA methods.
MFA Methods
Enable or disable each method with the toggle on the MFA Settings page. At least one method must be enabled if MFA enforcement is configured.
MFA Enforcement Policy
Recovery Codes
Recovery codes are single-use backup codes that allow a user to log in when their primary MFA device is unavailable. Configure recovery code settings:
Adaptive MFA
When the enforcement policy is set to Adaptive, Auris calculates a risk score for each login attempt based on five signals:
If the calculated risk score exceeds the configured threshold, MFA is required for that login. The exact weights and thresholds are configurable in Security Settings → Suspicious Login Detection.
Session Policies
Session policies control how long authenticated sessions remain valid and what happens to sessions when certain events occur.
Session Duration Settings
Session Behavior on Security Events
Note: Setting a low Idle Session Timeout (under 15 minutes) will cause frequent re-authentication for users on slow networks or who navigate away briefly. Balance security requirements against user experience for your audience.
Password Policy
The password policy applies to all email/password logins and to the password reset flow. Social login and passwordless methods bypass the password policy.
Strength Requirements
Additional Controls
HaveIBeenPwned Check
When enabled, Auris checks the entered password against the HaveIBeenPwned password database using a k-anonymity model — only the first five characters of the SHA-1 hash are sent, never the full password. This provides breach database protection without transmitting user passwords to third parties.
The HaveIBeenPwned check adds a small latency (typically 50–200 ms) to password validation requests. This check runs only on password creation and reset, not on every login.
SMTP Configuration
Transactional emails (magic links, MFA codes, password resets, invitations) are sent via your configured SMTP server. Go to Settings → SMTP to configure:
Use the Send Test Email button to verify your SMTP configuration by sending a test email to your administrator account.
Popular SMTP providers: Amazon SES, SendGrid, Postmark, Mailgun, and self-hosted Postfix.
Related Guides
- Hosted Login — How the OAuth 2.0 PKCE flow works
- Social Login — Detailed social provider integration guide
- Magic Links — Passwordless email authentication
- SMS OTP — Phone-based authentication
- Passkeys / WebAuthn — Hardware and platform authenticators
- Adaptive MFA — Risk-based MFA configuration