Begin a provider sign-in
const url = 'http://127.0.0.1:8080/api/v1/auth/example/login';const options = { method: 'POST', headers: {Origin: 'example', 'Content-Type': 'application/json'}, body: '{"invitation_token":"example","link":true,"login":"example","password":"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/example/login \ --header 'Content-Type: application/json' \ --header 'Origin: example' \ --data '{ "invitation_token": "example", "link": true, "login": "example", "password": "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”- None
- browserSession
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Required when explicitly linking to the current account.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Requires a current browser session and CSRF proof; callback rechecks that session.
Examplegenerated
{ "invitation_token": "example", "link": true, "login": "example", "password": "example"}Responses
Section titled “Responses”OIDC, SAML and managed providers return the authorization_url to navigate to. LDAP and trusted-proxy providers sign in directly and return the new session.
object
Where to send the browser to continue with an OIDC, SAML or managed provider.
object
object
Examplegenerated
{ "authorization_url": "https://example.com"}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"}