-
Notifications
You must be signed in to change notification settings - Fork 57
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
Custom Domain Name for SharePoint Online - Override the default auth resolver #56
Comments
Hi, I will release an update later this week. |
Many thanks @s-KaiNet. Yep, it's pretty rare from what I can gather. I can't find much online about custom domains for SharePoint Online so maybe it's a new thing MS have enabled - we moved to O365 just last week. Much appreciated. Cheers. |
Now you can explicitly add I'm closing it for now, please reopen if there is still any issue. |
This is brilliant! Thanks for doing this and making the change so quickly. |
Hi. We use a custom domain name for SharePoint Online which means the auth resolver thinks the SharePoint environment we're using is on premise and not SP Online.
We can get around this by setting the below in AuthResolverFactory.js :
if (authOptions.isUserCredentialsOnpremise(siteUrl, options)) { return new OnlineUserCredentials_1.OnlineUserCredentials(siteUrl, options); }
I was wondering though, is this something you can add into the next release, maybe set a flag in the options which allows us to override the auto auth resolver?
Many thanks, Adam
The text was updated successfully, but these errors were encountered: