1. Home
  2. ...
  3. Security Interceptors
  4. Client ID Secret Encoded Validation

Client ID Secret Encoded Validation

Validation of a client ID and client secret sent in the header in Base64 format.

The Client ID Secret Encoded Validation interceptor identifies a request header that contains a client ID and a client secret encoded in Base64, and validates if the information is correct. It's widely used with mobile apps, in which both codes (client ID and client secret) must be validated.

The header should follow the Basic Base64(clientID:clientSecret) model.

Example of header:

To configure this interceptor, fill out these fields:

  • Name (to be found in the header); and
  • Response Content-Type, stating the format in which data will be returned in case of any validation problem. The possible values are application/json and text/plain, with the first being the default value.

NOTE

If your API returns the status code 401 Unauthorized when using this interceptor, the token may be invalid. See more details on this page of our FAQs.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more