The TeamsSSOTokenExchangeMiddlewaresupports only Azure Cosmos DB and MemoryStorage, so we cannot use Azure Blob Storage which could be emulated easily in the local development loop using Azurite and would provide a lightweight alternative to Azure Cosmos DB. See
Discussed with @singhk97
Write directly to storage article suggests three ways to write to storage:
Add code to enable SSO in your bot app article provides guidance and recommends that developers use the TeamsSSOTokenExchangeMiddleware class to to handle deduplication in the token exchange step.
The
TeamsSSOTokenExchangeMiddleware
supports only Azure Cosmos DB and MemoryStorage, so we cannot use Azure Blob Storage which could be emulated easily in the local development loop using Azurite and would provide a lightweight alternative to Azure Cosmos DB. See