Rezin Core Rezin Core
Docs

Authentication

Authentication settings

Set per project in the console: open the project, then Sign-in. Owners and developers can change them; read-only members can look.

URL configuration

  • Site URL: where your application lives. One exact address. Sign-in sends people here when no other address is asked for, the links in emails lead here, and pages at this address may call the API from a browser.
  • Redirect URLs: other addresses sign-in may send people back to, and whose pages may call the API.

Anything not listed is refused before a person is sent anywhere.

PatternMatches
https://app.example.com/signed-inExactly that address
https://*.example.com* stands for the first part of a host
https://app.example.com/*/done* stands for one part of a path
https://app.example.com/auth/**** at the end of a path means anything below it
myapp://sign-inAn app's own scheme, written out in full
http://localhost:3000Plain http is accepted only for localhost

Calling the API from a browser

The same list decides which web pages may call the API. The API answers cross-origin requests only for origins on the project's list, never with a wildcard and never with credentials. The headers a page may send are apikey, authorization, content-type and x-organization-id.

If a browser reports a CORS error, the page's address is not on the project's list.

Sign-in methods

MethodNew projectNotes
Email and passwordOnCan be switched off
Self sign-upOffWhen on, new accounts join the organization the project names
New accounts must confirm their email address firstOffSee Email flows
Sign-in link by emailOffSee Email flows
GoogleOffSee Google and GitHub
GitHubOffSee Google and GitHub

Self sign-up needs an organization for new accounts to join. A new project already names its first one.

Sessions and limits

A project may be stricter than the platform, never looser.

SettingPlatform limitMeaning
Idle sign-outup to 15 minutesA token stops working after this long without use
Longest sign-inup to 12 hoursA token stops working this long after sign-in, whatever happens
Sign-in attempts per network address per minutedefault 10Shared by sign-up, sign-in, provider sign-in and code exchange

These protect every project and cannot be loosened per project:

  • 5 wrong passwords or codes in a row lock an account for 15 minutes.
  • Passwords are 12 characters or more.
  • Each key may send 600 requests a minute, and each network address 300 a minute whatever key it uses.

Organizations

The Sign-in page lists the project's organizations and lets you add one. See Concepts.

Accounts

Sign-in, then Accounts: the people who can sign in to your application. See Managing accounts in the console.

The second step and emails

  • Any user can have an authenticator app as a second step. See Authenticator app.
  • The emails the project can send are listed with previews on the project's Emails page. See Email.

This page as Markdown · llms.txt · Rezin Core is in development and available by invitation.