question

Vctor-2985 avatar image
0 Votes"
Vctor-2985 asked ·

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

5771-diagram.jpg

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?, Which is the easiest way to do this?

I'm stuck with this.

Regards


azure-active-directory
diagram.jpg (34.5 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MarileeTurscak avatar image
0 Votes"
MarileeTurscak answered ·

You should be able to use "Keep Me Signed In" (KMSI) to keep the user logged in for 30 days. They will eventually need to login again though. https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-keep-me-signed-in

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Vctor,

Can you please let me know if you were able to get this resolved or could use more information?

0 Votes 0 · ·