Skip to content

Product documentation

LoginFlow

The LoginFlow resource.

LoginFlow

The LoginFlow resource.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
POST/api/v1/login-flows/activateLogin Flow Activatetenant:idp.write
GET/api/v1/login-flows/activeLogin Flow Get Activetenant:idp.read
GET/api/v1/login-flows/assurance-methodsLogin Flow Get Assurance Methodstenant:idp.read
GET/api/v1/login-flows/client-bindingsLogin Flow List Client Bindingstenant:idp.read
GET/api/v1/login-flows/client-bindings/{clientId}Login Flow Get Client Bindingtenant:idp.read
PUT/api/v1/login-flows/client-bindings/{clientId}Login Flow Put Client Bindingtenant:idp.write
DELETE/api/v1/login-flows/client-bindings/{clientId}Login Flow Delete Client Bindingtenant:idp.write
GET/api/v1/login-flows/draftLogin Flow Get Drafttenant:idp.read
PUT/api/v1/login-flows/draftLogin Flow Put Drafttenant:idp.write
POST/api/v1/login-flows/simulateLogin Flow Simulatetenant:idp.read
GET/api/v1/login-flows/templatesLogin Flow Get Templatestenant:idp.read
POST/api/v1/login-flows/templates/{templateId}/applyLogin Flow Apply Templatetenant:idp.write
GET/api/v1/login-flows/versionsLogin Flow Get Versionstenant:idp.read

Operation details

POST /api/v1/login-flows/activate

Login Flow Activate

  • Operation ID: loginFlowActivate
  • Required scopes: tenant:idp.write

Request body (required): application/jsonActivateLoginFlowRequest

Responses:

StatusDescriptionBody
200OKLoginFlowDefinition
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/active

Login Flow Get Active

  • Operation ID: loginFlowGetActive
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginFlowDefinition
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/assurance-methods

Login Flow Get Assurance Methods

  • Operation ID: loginFlowGetAssuranceMethods
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginFlowAssuranceMethods
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/client-bindings

Login Flow List Client Bindings

  • Operation ID: loginFlowListClientBindings
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginFlowClientBinding[]
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/client-bindings/{clientId}

Login Flow Get Client Binding

  • Operation ID: loginFlowGetClientBinding
  • Required scopes: tenant:idp.read

Parameters:

NameInRequiredTypeDescription
clientIdpathyesstring

Responses:

StatusDescriptionBody
200OKLoginFlowClientBinding
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

PUT /api/v1/login-flows/client-bindings/{clientId}

Login Flow Put Client Binding

  • Operation ID: loginFlowPutClientBinding
  • Required scopes: tenant:idp.write

Parameters:

NameInRequiredTypeDescription
clientIdpathyesstring

Request body (required): application/jsonBindLoginFlowClientRequest

Responses:

StatusDescriptionBody
200OKLoginFlowClientBinding
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

DELETE /api/v1/login-flows/client-bindings/{clientId}

Login Flow Delete Client Binding

  • Operation ID: loginFlowDeleteClientBinding
  • Required scopes: tenant:idp.write

Parameters:

NameInRequiredTypeDescription
clientIdpathyesstring

Responses:

StatusDescriptionBody
204The binding was removed.object
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/draft

Login Flow Get Draft

  • Operation ID: loginFlowGetDraft
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginFlowDefinition
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

PUT /api/v1/login-flows/draft

Login Flow Put Draft

  • Operation ID: loginFlowPutDraft
  • Required scopes: tenant:idp.write

Request body (required): application/jsonLoginFlowDefinition

Responses:

StatusDescriptionBody
200OKLoginFlowDefinition
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

POST /api/v1/login-flows/simulate

Login Flow Simulate

  • Operation ID: loginFlowSimulate
  • Required scopes: tenant:idp.read

Request body (required): application/jsonSimulateLoginFlowRequest

Responses:

StatusDescriptionBody
200OKLoginFlowSimulation
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/templates

Login Flow Get Templates

  • Operation ID: loginFlowGetTemplates
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginFlowTemplate[]
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

POST /api/v1/login-flows/templates/{templateId}/apply

Login Flow Apply Template

  • Operation ID: loginFlowApplyTemplate
  • Required scopes: tenant:idp.write

Parameters:

NameInRequiredTypeDescription
templateIdpathyesstring

Responses:

StatusDescriptionBody
200OKLoginFlowDefinition
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/login-flows/versions

Login Flow Get Versions

  • Operation ID: loginFlowGetVersions
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginFlowVersionSummary[]
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)