Forum Discussion

vcima's avatar
vcima
Brass Contributor
Mar 24, 2020

How can I auto-logged an user inside a Sharepoint Web Part?

 

I have a website "Play web". When I want to access into this site I have to login previously with user/pass. An authtentication module, handle this info and starts a communication with an Azure AD. If the user is validated properly using a callback the control is returned to the Play Web with the user logged. All these steps works fine.

 

Where is the problem?. One of our clients wants to embed this "Play web" inside his Sharepoint but he doesn't want relogin. He needs to use the Sharepoint context to autologged the user into the website.  

 

Is there any way to do this?,  Should have I setup something in Azure AD: Proxy, Function?

 

I'm stuck with this.

 

Regards

  • vcima Which entity is the identity provider for your app as of now.
    If it is not Azure AD, then Add azure AD as an identity provider for the application. 

    As soon as your app will initiate the sign in request, user will experience SSO, provided your customer is using sharepoint online.

Resources