Skip to content
piecemeal
Esc
↑↓navigate↵open⌘Jpreview

Get the sign-in methods

GET/auth/config
Responses
200

OK

localLoginbooleanrequired
oidcbooleanrequired

Sign in by sending the browser to /api/piecemeal/v1/auth/oidc/login.

oidcNamestring

What to call the OIDC provider on the sign-in button.

default

Error

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
Request
curl -X GET 'https://piecemeal.example.com/api/piecemeal/v1/auth/config' \
  -H 'Accept: application/json'
Response
{
  "localLogin": true,
  "oidc": true,
  "oidcName": "string"
}