Cache tokens by specified environment, not by OIDC Discovery#247
Conversation
|
I reviewed this PR by testing BF/FF test cases, and the error of not finding tokens in cache is now gone, so it looks good from migration perspective. |
|
Excellent question. We need to come up more and more of these kind of different scenarios to help us evaluate this PR. In this particular case that you brought up, please help me stress-test my following assumption. The findings of this migration test makes us realize that, MSAL Python (or at least, its get_accounts() and acquire_token_silent() parts) never worked for a corner case when the app-specified authority W.R.T. app1 with authority |
|
Thanks. We are merging this PR. Once merged, you would then need to use |
@abhidnya13 please help verify this, both by re-running our BF/FF manual tests, and by code review, to see whether this can address the issue we found recently.