For adal.js, the authentication tries to use an iframe from the Nintex form. This resulted in:
'https://login.microsoftonline.com/common/oauth2/authorize?client_id=<removed>&response_type=token&re...' in a frame because it set 'X-Frame-Options' to 'deny'.
Something similar happened with msal.js when using silent authentication.
Has anyone tried to do this yet? Any help would be greatly appreciated.
It would be great to be able to use the credentials of the user logged into SharePoint to authenticate their access to the Azure function. The adal.js and msal.js libraries that Microsoft has put out were made for this type of thing.
The Azure function implements some business logic such as retrieving data from a backend SQL db based on information entered into the form, or returning members of an AAD Group for a drop down, or getting purchase authorization amounts based on user, etc.