Skip to content
Back to the app

Authentication & SSO ​

CHANGENTS.AI supports multiple authentication methods to meet the security requirements of individuals and enterprises.


Authentication Methods ​

MethodSupportedPlan
Email + Password✓All
Google OAuth 2.0✓All
Apple Sign-In✓All (iOS / web)
Microsoft OAuth (Azure AD)✓All
TOTP-based MFA✓All
Enterprise SSO (SAML 2.0)Coming soonEnterprise

Email + Password ​

Passwords are hashed using bcrypt (12 rounds) before storage. Plain-text passwords are never stored or logged.

Password requirements:

  • Minimum 8 characters
  • At least one uppercase, one lowercase, one number
  • Common passwords are rejected

Google OAuth 2.0 ​

Users sign in with their Google account. CHANGENTS.AI requests the following scopes:

  • openid — identity
  • email — email address
  • profile — display name and avatar

CHANGENTS.AI does not request access to Gmail, Drive, or Calendar during login. Those scopes are requested separately only when the user connects a Google integration.

Production callback URL:

https://changents.ai/auth/callback/google

For self-hosted deployments, see Google OAuth Production Setup.


Apple Sign-In ​

Supports the "Hide My Email" relay feature. When a user signs in with Apple using a relay address:

  • CHANGENTS.AI stores the relay email
  • All outbound emails go to the relay address
  • Apple forwards to the user's real email

Microsoft OAuth (Azure AD) ​

Works with both personal Microsoft accounts and organisational Azure AD accounts.

To whitelist CHANGENTS.AI in your organisation's Azure AD:

  1. Go to Azure Portal → Azure Active Directory → Enterprise Applications
  2. Add "CHANGENTS.AI" and grant admin consent for the required scopes
  3. Ensure the app's reply URL matches your deployment URL

Multi-Factor Authentication (MFA) ​

TOTP-based MFA (compatible with Google Authenticator, Authy, 1Password).

Enrolling MFA ​

  1. Go to Profile → Security → Enable MFA
  2. Scan the QR code with your authenticator app
  3. Enter the 6-digit code to confirm enrolment
  4. Save your backup codes in a secure location

MFA at Login ​

After entering your password, you'll be prompted for a 6-digit code from your authenticator app.

Enterprise MFA Enforcement ​

An organisation can require MFA for every member:

  1. Open Organization Settings → Organization.
  2. Turn on Require MFA for all members.
  3. Members without MFA enrolled are asked to set it up at their next sign-in.

Session Management ​

Token typeLifetimeStorage
Access token (JWT)24 hoursIn-memory / secure storage
Refresh token30 daysHttpOnly cookie (web) / secure storage (mobile)

Refresh tokens are single-use — a new one is issued on every refresh. Compromised refresh tokens are automatically revoked if used after rotation.


Linking Multiple Providers ​

A single CHANGENTS.AI account can link multiple OAuth providers:

http
POST /auth/link/{provider}
Authorization: Bearer {token}

This allows users to log in with any of their linked providers (e.g., they can use either Google or Microsoft to access the same account).


What's Next? ​

Served from this deployment. No page view leaves it.