Azure-Samples / Azure-Samples/ms-identity-python-webapp

How can this sample be modified to be used in a serverless environment?

Aperta
#54 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
documentation question
Lingua principale
PowerShell
Stelle
324
Fork
145
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When running Flask (or other webserver) in an Azure function (or similar) I guess the web session based cache in the sample can not be used because of the ephemeral nature of Cloud functions.
How to get this sample and this particular authorization flow work in a serverless environment?
Is it a matter of implementing your own cache where you store and handle the access token and refresh token?
In that case, would you suggest that cache implementation to inherit from _SerializableTokenCache_?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.