Reputation: 423
I am running the Hello-World-Tab-With-Backend example from TeamsFx. As expected when debugging it launches the Front end and back end services but I noticed that its also launching an Auth service (see image below). Can someone help me understand what the Auth service is doing? Does this also need to be deployed when I deploy my app to production? The README does not provide any information on this.
Upvotes: 0
Views: 498
Reputation: 177
Simple Auth (Auth Service you motioned) is a backend service helping Teams tab app access first/third party services from client side. TeamsFx SDK calls the Simple Auth Service to get Access Token in Tab apps. You can find the source code and ReadMe of Simple Auth here.
When local debugging, toolkit will launch a local session to host the Simple Auth Service.
When provisioning from Teams Toolkit, toolkit will provision a Web app on Azure and deploy the source code, thus you don't need to care about the deploying.
Upvotes: 3