Skip to content

Return sign-in to the app

POST
/api/v1/auth/native-browser/finish
curl --request POST \
--url http://127.0.0.1:8080/api/v1/auth/native-browser/finish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Origin: example' \
--header 'X-CSRF-Token: example' \
--data '{ "state": "example" }'

Available only when account authentication is enabled. Provider configuration is restart-bound. Local logout does not require an external provider. Responses must not be cached.

Origin
required
string
X-CSRF-Token
required
string
Media typeapplication/json
object
state
required
string

Example generated

{
"state": "example"
}

Requires a browser session created after entry, Origin, CSRF, and the transaction cookie. Returns redirect_uri with the app state and a one-minute, one-use code bound to PKCE.

Media typeapplication/json
object
redirect_uri
required
string

Example generated

{
"redirect_uri": "example"
}

Structured authentication boundary failure

Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
integer
title
required
string
type
required
string

Example generated

{
"code": "example",
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Structured authentication boundary failure

Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
integer
title
required
string
type
required
string

Example generated

{
"code": "example",
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Structured authentication boundary failure

Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
integer
title
required
string
type
required
string

Example generated

{
"code": "example",
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Structured authentication boundary failure

Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
integer
title
required
string
type
required
string

Example generated

{
"code": "example",
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Structured authentication boundary failure

Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
integer
title
required
string
type
required
string

Example generated

{
"code": "example",
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Structured authentication boundary failure

Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
integer
title
required
string
type
required
string

Example generated

{
"code": "example",
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}