Skip to content
rw3iss Auth

RegistrationPolicy

RegistrationPolicy

Defined in: dto/app.ts:126

Public (anonymous) registration policy for an app — GET /apps/{code}/registration-policy. UX hints a login/register form reads BEFORE submit (pre-filter SSO buttons, show domain hints); the server re-enforces on the actual register call.

Properties

allowed_auth_methods

allowed_auth_methods: string[]

Defined in: dto/app.ts:135

“password”, “google”, “apple”, “microsoft”, “github”, “custom”. Empty = any enabled method.


allowed_email_domains

allowed_email_domains: string[]

Defined in: dto/app.ts:132

Bare domain strings (no ’@’). Empty = any domain accepted.


code

code: string

Defined in: dto/app.ts:128

Echo of the requested app code.


default_organization_name?

optional default_organization_name?: string

Defined in: dto/app.ts:140

Org name shown in the registration prompt; only present when has_default_organization is true.


has_default_organization

has_default_organization: boolean

Defined in: dto/app.ts:137

True when the app auto-adds new registrants to a default org.


name

name: string

Defined in: dto/app.ts:130

Human-readable app name.