I'm developing an API that calls subscription and tenant information when a user login to azure through
When a user login CSP(internally, CSP login is performed using
az login --use-device-code), the user is returned
After completing this process, the user's login information is left on our main server, and the user's subscription and tenant information can be called using this.
In the case of one user, this process has no problem at all, but when multiple users make a request at the same time, only the information of the user who requested the last request is called.
In addition, there is another problem is that the main server's process is held until the process is finished when requested via azure-cli.
When multiple users request CSP login, what is the way to operate normally without holding the main server and Overwritten user information?
For reference, the main server is FastAPI.
Subscribe to get latest updates