chrishasz / spgo

SPGo: A Lightweight, Open Source, SharePoint IDE for Visual Studio Code
https://www.chrishasz.com/spgo
MIT License
60 stars 11 forks source link

Modern Authentication #100

Closed qaziAnis closed 4 years ago

qaziAnis commented 4 years ago

Our Organization uses Modern authentication for Office 365, and has disabled Basic Authentication using ADFS rules. Are you planning to support Modern authentication

koltyakov commented 4 years ago

These are supported https://github.com/s-kainet/node-sp-auth/wiki

chrishasz commented 4 years ago

hello @qaziAnis - Did you find what you need in the documentation that @koltyakov provided, or are you still having errors?

qaziAnis commented 4 years ago

This doesn't solve my error, the ADFS server has below rule "Allow all intranet traffic only for browser and modern authentication clients". This rule prevents SpGo from getting authorized to access Sharepoint online. Our requests gets authenticated (Active directory verifies that the user credentials are right), but the rule prevents us from getting authorization to Sharepoint online.

s-KaiNet commented 4 years ago

@qaziAnis the only way for you to make it work is to use SharePoint Online addin only authentication. Username authentication will not work.

qaziAnis commented 4 years ago

Thanks , that resolved our issue