Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pnpcontext cache did not work for multitenant #417

Merged

Conversation

czullu
Copy link
Contributor

@czullu czullu commented Jul 13, 2021

The way we had the pnpContextCached in PnPCoreSdk we would get potentialy wrong pnpcontext as we cloud have GetClientContext started from User or App Only Context.

Christian Zuellig added 3 commits July 13, 2021 17:46
…for each tenant and be able to check in GetPnPContext if the given context uses the same Authentication flow (App/User, etc)
…tored in ctxSettings.AuthenticationManager as otherwise we would need to cache PnPContext by Authflow and tenant in order to make sure we always get the right pnpcontext when convert back in GetPnPContext
@jansenbe jansenbe self-assigned this Jul 26, 2021
jansenbe added a commit that referenced this pull request Jul 26, 2021
@jansenbe jansenbe merged commit aae5d64 into pnp:dev Jul 26, 2021
@czullu czullu deleted the Fix_PnPContext_CacheContext_For_Multitenant branch October 19, 2021 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants