DQ Auth API
The DQ Auth API authenticates users and generates JWT and OAuth tokens
Creates an authentication request to sign in with username and password and generate a JWT token.
Sign in with your username and password to generate a JWT token
Body
usernamestringOptionalExample:
Username
adminpasswordstringOptionalExample:
Password
<password>issstringOptionalExample:
Issuer (tenant name)
publicResponses
200
JWT token is generated
*/*
401
Authentication failed
post/v3/auth/signin
POST /v3/auth/signin HTTP/1.1
Host: <host-name>
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"username": "admin",
"password": "<password>",
"iss": "public"
}{
"username": "admin",
"token": "<jwt-token>"
}Create an authentication request to sign in with username and password and generate an OAuth token
post
Creates an authentication request to sign in with username and password and generate an OAuth token.
Sign in with your username and password to generate an OAuth token
Body
usernamestringOptionalExample:
Username
adminpasswordstringOptionalExample:
Password
<password>issstringOptionalExample:
Issuer (tenant name)
publicResponses
200
Oauth token is generated
*/*
400
Bad Request
*/*
post/v3/auth/oauth/signin
POST /v3/auth/oauth/signin HTTP/1.1
Host: <host-name>
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"username": "admin",
"password": "<password>",
"iss": "public"
}{
"token": "<oauth-token>"
}Last updated
Was this helpful?