The JWT authentication scheme with Sila will follow the conventional HTTP Bearer token scheme:
- Request an
auth_tokenfor your client application from the Sila API; this auth token will have a
tokenvalue and an
Refer to the
[/auth_token](https://docs.silamoney.com/docs/auth_tokendocs for more information
- Store this
auth_tokenin your local database, and continue to re-use this token for application-level authorization for all requests until it's nearly expired.
- If and when you notice that the token's expiration time is almost up (30 minutes or less), you may request a new auth token from the Sila API.
Use of an expired token will return a 401 response.
Refer to the Auth Token Management docs for more information
Updated 3 months ago