Rize API authentication
To make requests to the Rize API, it is necessary to generate an access token and pass it through the Authentication header on every request made to the Rize API.
Linker backend API does this behind the scenes, by calling the Authenticate method inside src/baas/rize/rize.service.ts
before every request, and generating a new token if the previous one has expired.
HttpModule
and Axios
are used to set up this interceptor to call the authenticate
method before every request, and this is only configured for the Rize service, so the other endpoints from other modules are not affected.
Last updated