Перевод в работе
Эта страница автоматически зеркалируется с английского оригинала, пока не появится перевод. Содержимое на английском — навигация и интерфейс уже переведены.
Account & billing
Atlas guests can browse the workspace immediately. The sign-in modal opens when you click a gated control, or after ~10 seconds of dwell on the homepage. Legacy /login and /register URLs redirect to the modal.
Sign in
Open the modal (top-right user icon, or any gated action). Three tabs:
- Sign in — username or email + password.
- Sign up — username + email + password (twice).
- Forgot — enter your email, receive a reset link.
Each tab also exposes:
- Continue with Google
- Continue with GitHub
OAuth round-trips through /api/auth/<provider>/start → provider consent → /api/auth/<provider>/callback and drops you back into the workspace as signed-in.
Email delivery is off by default
Outbound mail (verification, password reset, digests, email alerts) only sends once SMTP is configured via the EMAIL_* env vars. Until then these flows silently no-op.
Email verification
When the deployment has email verification enabled (AUTH_EMAIL_VERIFICATION_ENABLED=True) and SMTP is configured:
- Sign up — the account is created in unverified state.
- Atlas sends a verification mail with a one-time link.
- Open the link →
/auth/verify-email?token=…→ confirmation screen → redirect to the workspace.
If AUTH_REQUIRE_EMAIL_VERIFICATION=True, gated actions (alerts, portfolios, payments) stay locked until the email is verified. The mail TTL is 60 minutes by default (EMAIL_TOKEN_TTL_MINUTES). If the link expires, use Forgot to trigger a new mail.
Password reset
- In the modal, click Forgot password?.
- Enter your email — Atlas sends a reset link.
- Open the link →
/auth/reset-password?token=…→ set a new password. - You're signed in on submit.
Reset tokens expire in 60 minutes by default (PASSWORD_RESET_TOKEN_TTL_MINUTES).
Password changes go through this email reset flow. The in-app Change Password button under Settings is currently not working — use Forgot password? to change your password.
Sessions
- JWT access token (15 min default, refreshes silently).
- HttpOnly refresh-token cookie (14 days default).
- Sign out clears both server-side and client-side.
Plans and billing
The pricing page is at /pricing. Tiers differ on:
- Real-time quotes vs. delayed.
- OSINT layers (AIS / ADS-B / geolocated news).
- 3D globe (Pro feature,
globe_premium). - Alert volume and PDF exports.
- Saved screens, graphs, dashboards.
- Client portfolios (advisory plans only).
Atlas never stores card details. From Settings → Subscription:
- Manage opens the Stripe customer portal (invoices, payment method, plan changes, cancellation).
- Cancellation is end-of-period — full access until the next renewal date, then drop to free tier.
Account deletion
User menu → Delete account → two-step confirm. Hard delete — portfolios, watchlists, alerts, and saved screens are removed. Export anything you want to keep first.
Required env (deployment)
| Variable | Purpose |
|---|---|
PUBLIC_APP_URL | Base URL for verification & reset links |
AUTH_EMAIL_VERIFICATION_ENABLED | Toggle the verification flow |
AUTH_REQUIRE_EMAIL_VERIFICATION | Block gated actions until verified |
EMAIL_ENABLED | Master switch for outbound mail |
EMAIL_SMTP_HOST/PORT | SMTP relay |
EMAIL_SMTP_USERNAME/PASSWORD | SMTP credentials |
EMAIL_FROM / EMAIL_FROM_NAME | From: header |
EMAIL_TOKEN_TTL_MINUTES | Verification link TTL (default 60) |
PASSWORD_RESET_TOKEN_TTL_MINUTES | Reset link TTL (default 60) |
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET | Google OAuth |
OAUTH_GITHUB_CLIENT_ID / OAUTH_GITHUB_CLIENT_SECRET | GitHub OAuth |
See Quick Start for the full env list.
Tips
- The username doubles as your operator handle inside Atlas; the email is the recovery channel.
- OAuth accounts (Google / GitHub) skip the email-verification step — the provider already verified you.
- Plan upgrades are immediate; downgrades happen at period end.