Skip to content

Open browser sign-in

GET
/api/v1/auth/native-browser
curl --request GET \
--url 'http://127.0.0.1:8080/api/v1/auth/native-browser?redirect_uri=example&state=example&code_challenge=example&code_challenge_method=S256' \
--header 'Authorization: Bearer <token>'

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.

redirect_uri
required
string

An exactly permitted return target: savorum://auth/callback.

state
required
string

16 to 256 unreserved characters, returned unchanged to the app.

code_challenge
required
string

Base64url SHA-256 of the app’s code verifier, without padding.

code_challenge_method
required
string
Allowed values: S256

Opens the sign-in page with a five-minute browser-bound transaction. Accepts the same redirect_uri, state, code_challenge, and S256 code_challenge_method as provider sign-in.

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"
}