I have a website where the users login against Azure AD. I need to embed (as iframe) this website inside a Sharepoint intranet with a WebPart.
How could I get the OAuth-Token for Sharepoint to pass it to the webpart?.
In the webpart I have something like this:
OAUTHOKEN = ¿? <iframe src="https://myweb.org/oauthCallback.html?token=OAUTHTOKEN" width="250px" height="250px"/>
Could you tell me the way to obtain the OAuth-Token?