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(auth): fix issue in ConfigureOnPremisesContext causing 403 forbidden responses on on-premise environments #1011

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

nathan-swannet
Copy link
Contributor

@nathan-swannet nathan-swannet commented Apr 15, 2024

On on-premise environments, it happens that the GetUpdatedFormDigestInformation is invoked multiple times causing multiple digest values in the X-RequestDigest header. This in turn causes SharePoint to throw 403: forbidden responses.

This small change fixes this issue.

Closes #1010

@nathan-swannet nathan-swannet marked this pull request as ready for review April 15, 2024 09:34
@nathan-swannet nathan-swannet marked this pull request as draft April 15, 2024 09:38
@nathan-swannet nathan-swannet marked this pull request as ready for review April 15, 2024 09:38
@jansenbe jansenbe self-assigned this Apr 22, 2024
jansenbe added a commit that referenced this pull request Apr 22, 2024
@jansenbe jansenbe merged commit b181ffb into pnp:dev Apr 22, 2024
@nathan-swannet nathan-swannet deleted the patch-1 branch April 22, 2024 08:39
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.

Adding the "X-RequestDigest" multiple times causes 403: Forbidden responses on on premise environments
2 participants