Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Embed and authenticate ASP.NET MVC Application inside an IFRAME

$
0
0

I have a complex web application that makes calls to the SDK that need to be shown as an IFRAME inside CRM.

Currently, my application connects to CRM using a hardcoded System User. My client wants the application to execute all CRUD operations under the logged-in user and not using one static System User. For example, when the WhoAmIRequest is called, it should return the Id of the logged-in user.

I thought of showing a custom login page inside the web application to capture the credentials, however, this approach is not acceptable.

I need to find a solution to authenticate inside the web application rather than asking for the credentials.

Is this is possible? 

NOTE: I thought of changing my web application to behave as a Web API and be consumed from HTML pages, as I said before, the application is too complex and I needed to use MVC and Razor views.

Another question, the application also needs to connect to SharePoint to create files, is it possible to use the logged user? my code uses Microsoft.SharePoint.Client.ClientContext class.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>