Security best practices
Please take care of these security best practices
Last updated
Was this helpful?
Please take care of these security best practices
Last updated
Was this helpful?
flow is designed for server side only. There is no user authentication involved in the process (server to server). Thus, make attention to the security of your application back-end because authorization and credentials will rely on it.
Don't call APIs with client credential flow at client-side but at server side only. The authorization must be obtained by a server or BFF (back-for-front) and so only that server should call the API (avoiding exposing your credentials and access tokens at client side).
Store secrets in a designated secrets management solution. For example, you can use a solution offered by your (cloud) infrastructure provider, such as , , or . Another option is a dedicated secrets management system, such as , , , .
Don't store secrets (and client id) in clear in the code. Best solution is to use a designed secret management solution. Alternatively, you can store it as encrypted field in your database.
It is a best practice to renew periodically your secrets and most of all when your security could have been compromise.
You can reset you secret on the developer portal (see page