Begin a native sign-in
const url = 'http://127.0.0.1:8080/api/v1/auth/example/native?redirect_uri=example&state=example&code_challenge=example&code_challenge_method=S256';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://127.0.0.1:8080/api/v1/auth/example/native?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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”An exactly permitted return target: savorum://auth/callback.
16 to 256 unreserved characters, returned unchanged to the app.
Base64url SHA-256 of the app’s code verifier, without padding.
A ticket from create-native-link-ticket. The return then carries a link code for finish-native-provider-link instead of a sign-in code.
Responses
Section titled “Responses”Sets the browser-bound transaction cookie and redirects to the OIDC, SAML or managed provider. Open this URL in the app’s authentication browser, not with a native HTTP client.
Structured authentication boundary failure
object
Examplegenerated
{ "code": "example", "detail": "example", "status": 1, "title": "example", "type": "example"}Structured authentication boundary failure
object
Examplegenerated
{ "code": "example", "detail": "example", "status": 1, "title": "example", "type": "example"}Structured authentication boundary failure
object
Examplegenerated
{ "code": "example", "detail": "example", "status": 1, "title": "example", "type": "example"}Structured authentication boundary failure
object
Examplegenerated
{ "code": "example", "detail": "example", "status": 1, "title": "example", "type": "example"}Structured authentication boundary failure
object
Examplegenerated
{ "code": "example", "detail": "example", "status": 1, "title": "example", "type": "example"}