Start signing in with a SAML provider
GET
/api/v1/auth/saml/{providerId}/start
const url = 'https://gpu-kitchen.example.lan/api/v1/auth/saml/1/start';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://gpu-kitchen.example.lan/api/v1/auth/saml/1/startParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”providerId
required
integer
Query Parameters
Section titled “Query Parameters”redirect
string
Path of this app to return to once signed in.
Responses
Section titled “Responses”To the provider’s sign-in page.
Error codes: provider_not_found.
Media typeapplication/json
object
error
required
object
code
required
Stable snake_case code to branch on.
string
message
required
A sentence to show a person.
string
details
Optional structured context.
fix
Optional place where the problem is fixed.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: rate_limited.
Media typeapplication/json
object
error
required
object
code
required
Stable snake_case code to branch on.
string
message
required
A sentence to show a person.
string
details
Optional structured context.
fix
Optional place where the problem is fixed.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}