phpSPO
phpSPO copied to clipboard
Consume SP API after Single Sign On
Hi,
Thanks for your library it really its a piece of work, I used it in the past and had great results! but now i have a new requirement that I hope you can put me into the right direction. Currently i have a PHP Site that authenticates my users through single-sign-on and what i need to achieve is consume the Sharepoint API using their credentials and not using a hardcoded username/password combination which is how i implemented your library. Is there a way to authenticate and consume SP services using your library? and if so, what should be the parameters to take into account? Consider that i could get the username as an attribute coming from SSO but not really the password. The service provided is Office 365 so i think im in the same scope of sharepoint.
Thanks in advance for your help!
Hi @antrecu,
For the user context, you should better rely on ADAL/MSAL based solution rather than passing user credentials to a backend somehow.
Hello! Did you find a way to solve your problem? Thanks!