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

GetOnPremisesRequestDigestAsync does not enforce windows authentication when multiple authentications are enabled on SharePoint Subscription Edition. Related to issue #889 #1051

Open
pbharani opened this issue Aug 22, 2024 · 0 comments

Comments

@pbharani
Copy link

We have the same issue in SharePoint subscription edition that has both OIDC and ntlm enabled, while trying to fetch the apps from appcatalog for installation on a sitecollection using csom. var appFromCatalog = appManager.GetAvailable() throws 403.
Usual context building works when we use e.WebRequestExecutor.RequestHeaders.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f"); and context.AuthenticationMode = ClientAuthenticationMode.Default; However while trying to get apps from appcatalog using appmanager.GetAvailable(), though the context has both context.AuthenticationMode = ClientAuthenticationMode.Default; and e.WebRequestExecutor.RequestHeaders.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f"); set, still we get 403 thrown.

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

No branches or pull requests

1 participant