Return sign-in to the app
POST
/api/v1/auth/native-browser/finish
const url = 'http://127.0.0.1:8080/api/v1/auth/native-browser/finish';const options = { method: 'POST', headers: { Origin: 'example', 'X-CSRF-Token': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"state":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Origin
required
string
X-CSRF-Token
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
state
required
string
Example generated
{ "state": "example"}Responses
Section titled “Responses”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"}