Hi Agat,
Check out this document:
https://learn.microsoft.com/en-us/azure/architecture/multitenant-identity/
It goes over some of the security considerations you will need to consider.
You can store secrets in Key Vault for better security, enabling you to safeguard cryptographic keys and other secrets used by cloud apps and services
https://learn.microsoft.com/en-us/azure/architecture/multitenant-identity/web-api
https://github.com/uglide/azure-content/blob/master/articles/guidance/guidance-multitenant-identity-keyvault.md