Start OAuth login
Starts the OAuth2 login flow - for a detailed description of all input parameters please see the OAuth2 and OpenID Connect Core specs
GET
/{apiBasePath}/oauth/authPath parameters
apiBasePathstringrequiredIts value depends on the apiBasePath set by the user
Responses
200A general error response
statusstringError status code
Allowed:
GENERAL_ERRORmessagestringError message
302Redirects the user to the login page or back to the client app
400OAuth2 specific error response
errorstringThe OAuth2 error code
error_descriptionstringHuman readable error description
404Resource not found error
string500Internal server error
stringTry it
Server
Parameters
Request
curl -X GET "/auth/oauth/auth"const response = await fetch("/auth/oauth/auth", {
method: "GET"
});import requests
response = requests.get(
"/auth/oauth/auth",
)Response
{
"status": "GENERAL_ERROR",
"message": "string"
}Redirects the user to the login page or back to the client app
{
"error": "invalid_request",
"error_description": "Unsupported grant type: password"
}"Not Found""Internal Error"