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

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

Open
#54 3 comments 0 reactions 0 assignees View on GitHub
documentation question
Dominant language
PowerShell
Stars
324
Forks
145
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.