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

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

Abierto
#54 3 comentarios 0 reacciones 0 asignados Ver en GitHub
documentation question
Lenguaje dominante
PowerShell
Estrellas
324
Forks
145
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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_?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.