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

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

未关闭
#54 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
documentation question
主要语言
PowerShell
星标
324
派生
145
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。