Skip to content
rw3iss Auth

AppRecord

AppRecord

Defined in: @rw3iss/auth-shared/src/dto/app.ts

App record as returned by GET /admin/apps. Mirrors the Go domain.App JSON serialization — snake_case preserved so consumers can hand the shape straight to UI without remapping.

Properties

allowed_auth_methods

allowed_auth_methods: string[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts


allowed_email_domains

allowed_email_domains: string[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts


allowed_redirect_urls

allowed_redirect_urls: string[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts


auto_grant_on_signup

auto_grant_on_signup: boolean

Defined in: @rw3iss/auth-shared/src/dto/app.ts


code

code: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


created_at

created_at: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


default_organization_id?

optional default_organization_id?: string | null

Defined in: @rw3iss/auth-shared/src/dto/app.ts


deleted_at?

optional deleted_at?: string | null

Defined in: @rw3iss/auth-shared/src/dto/app.ts


description?

optional description?: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


frontend_url?

optional frontend_url?: string | null

Defined in: @rw3iss/auth-shared/src/dto/app.ts


id

id: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


name

name: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


read_namespaces

read_namespaces: string[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts


registration_namespace?

optional registration_namespace?: string | null

Defined in: @rw3iss/auth-shared/src/dto/app.ts

User pools (auth-server migrations 017 + 018). Model: ONE default pool + N other pools. registration_namespace is the DEFAULT pool — new registrants get it as users.namespace (empty ⇒ “default”). read_namespaces are the OTHER pools: login matches users across [default, …others], and new registrants are tagged into the others. The plural registration_namespaces is legacy — when non-empty its first entry overrides the singular default pool. See auth-server docs/USER_POOLS.md.


registration_namespaces

registration_namespaces: string[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts


service_codes

service_codes: string[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts


status

status: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


updated_at

updated_at: string

Defined in: @rw3iss/auth-shared/src/dto/app.ts


webhooks

webhooks: AppWebhook[]

Defined in: @rw3iss/auth-shared/src/dto/app.ts

Outbound webhooks (migration 019) — dispatched async on matching app events. Currently only “user.registered” (new-user creation through this app). hooks.slack.com URLs get Slack {text} format.