Skip to content

Security ‚Äč

We offer a possibility to add an authorization header to the custom API endpoints. You can insert a token using following option in TOPOL_OPTIONS. This authorization token will be added to all ongoing requests to your server.

apiAuthorizationHeader: "Bearer token";

This will resolve in param: Authorization Bearer_token

If you want to name the param yourself you can use following option:

  apiAuthorizationHeader: {
    'Param-name': 'secret'