Added steps explaining token cache on distributed environment #195
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Apps deployed on distributed environments need to tweak the token cache configuration to be adequate to this architecture. I have added a section exposing available solutions and a code snippet to each of them.
This PR would be an answer for this issue: #158
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
To be able to test it, you will need 2 different apps deployed on Azure or 1 app with two deployment slots. You cannot test this locally.
What to Check
Verify that both apps are able to grab and save tokens from the cache without any exception being thrown.
Other Information
Resources gotten from: