OAuth

Issue a client_credentials access token

Changed on

RFC 6749 token endpoint. Public clients may omit client authentication. The catalog GET does not require this token.

post/oauth/token

Request

  • Base URL
    https://www.lucis.life
  • Auth
    none required

Request body

grant_type'client_credentials' required

OAuth 2.0 grant type. Only client_credentials is issued.

scope'catalog.read'

Requested scope. Only catalog.read exists.

client_idstring

Optional public client identifier. No client secret is required.

Response

Access token issued.

access_tokenstring required
token_type'Bearer' required
expires_in3600 required
scope'catalog.read' required

Changes

    • breaking

      request property was restricted to a list of enum values (media type: application/x-www-form-urlencoded)

    • breaking

      request property was restricted to a list of enum values (media type: application/json)

    • info

      added the new catalog.read enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new catalog.read enum value to the request property (media type: application/json)