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

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

オープン
#54 コメント 3 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。