Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Log the user in with the provided credentials

Parameters

URL SegmentQuery ParameterExpected TypeDescription
usernamestringUsername of the user to login.
passwordstringPassword of the user to login.

Response

204 No Content, if successful.

401 Unauthorized, if unsuccessful.

...


Logout user

Code Block
languagejs
POST /api/v2/logout


Parameters

Query ParameterExpected TypeDescriptionRequired
redirect_uristringURL to redirect to after logoutConditional (see Response)

Description

Logout the current user and close all Blueriq sessions

Response

204 No Content

302 Found

  • if redirect_uri parameter is present
  • the Location header contains the redirect_uri

400 Bad Request

  • if the Runtime is configured with OpenID Connect and SSO Logout, and no redirect_uri parameter was received
  • if a whitelist is defined for the redirect_uri parameter and the received redirect_uri is not whitelisted

...