For the complete documentation index, see llms.txt. This page is also available as Markdown.

Save Passkey Settings

Saves the project's passkey authentication settings.

Membership settings control how authentication and authorization behave for your project β€” allowed sign-in methods, registration rules, password complexity, and passkey options.

This endpoint creates the passkey settings; the response returns its id.

Saves the project's passkey authentication settings.

post
Authorizations
HTTPRequired

JWT Bearer Authorization

Path parameters
versionstring Β· nullableRequired

The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3

Body

Saves the project's passkey authentication settings.

enabledbooleanOptional

Whether the email + passkey sign-in flow is enabled for the project.

codeTtlMinutesinteger Β· int32Optional

Email verification code lifetime, in minutes. Allowed range: 3-15.

maxCredentialsPerUserinteger Β· int32Optional

Maximum passkeys a single user may register. Allowed range: 1-20.

recoveryCodeCountinteger Β· int32Optional

Number of recovery codes generated at signup. Allowed range: 5-20.

generateRecoveryCodesAtSignupbooleanOptional

Whether recovery codes are generated automatically at signup.

authenticatorAttachmentstringOptional

Accepted authenticator types: 'Any', 'Platform', or 'CrossPlatform'.

allowMagicLinkRecoverybooleanOptional

Per-project opt-in for magic-link account recovery (off by default).

refreshTokenTtlDaysinteger Β· int32Optional

Absolute refresh-token lifetime, in days. Allowed range: 7-90.

rpIdstring Β· nullableOptional

Optional explicit WebAuthn RP-ID β€” a bare DNS host (e.g. 'app.example.com', no scheme/port/path). Leave null/empty to derive it from the project's CORS origins. WARNING: changing this value invalidates every existing passkey on the project β€” set it once before going live and avoid changing it afterward.

projectIdstringRequired

ID of your project. Can be passed in a header as norbix-project-id.

envstring Β· nullableOptional

Target environment for this request (e.g. TEST, STAGING). Optional β€” when omitted the request runs against PROD. Can be passed in a header as norbix-env.

cultureCodestring Β· nullableOptional

Specify culture code when your response from the API should be localised. E.g.: en

timeZoneIdstring Β· nullableOptional

TimeZone

correlationIdstring Β· nullableOptional

CorrelationId for each request

Responses
200

OK

application/json
post/{version}/membership/passkey/settings
200

OK

In the dashboard

Manage this visually in Norbix Cloud β€” see Membership β†’ Settings.

Use it from code

Every Norbix SDK exposes this endpoint as a method β€” see Save Passkey Settings in the SDK reference, with examples in every language.

Last updated