Skip to main content

REST.OAUTH_SETTINGS

Error code REST.OAUTH_SETTINGS, raised by packages. Area: REST.

What it means​

  • OAuth 2.0 sign-in needs oauth_token_url (an http or https address), so the request was not sent
  • OAuth 2.0 sign-in needs oauth_client_id, so the request was not sent
  • OAuth 2.0 client credentials sign-in needs oauth_client_secret, so the request was not sent

What to do​

  • Give the provider's token endpoint, e.g. https://login.example.com/oauth2/token.
  • Give the client (application) id.
  • Give the client secret from the vault, or a refresh token in oauth_refresh_token.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: REST OAUTH_SETTINGS oauth settings