Techiio-author
Started by Tom NelsonSep 8, 2021

Open
How can I have multiple Azure user info on a single server?

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I'm developing an API that calls subscription and tenant information when a user login to azure through azure-cli.

When a user login CSP(internally, CSP login is performed using az login --use-device-code), the user is returned https://microsoft.com/devicelogin and code.

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.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance