Hello,
We have an ASP.NET MVC 4 application that runs inside an iframe in MS CRM 2013. The web application uses the MS CRM web services (Organization web service) to retrieve and save data. To do so, it needs to authenticate. For on-premises we are using windows authentication and impersonate with the currently logged user in MS CRM (user id is passed to the iframe URL). It works like a charm.
How can we achieve this in MS CRM 2013 Online? Impersonation itself should not be a problem but how can our application authenticate to the MS CRM web services on the first place? Multiple MS CRM customers may use our application, so configuration from our customers' point of view should not be too hard (actually it should be as simple as possible).
A similar question have been asked here: https://community.dynamics.com/crm/f/117/p/76370/265655.aspx#265655. In this post we get to a user with the "delegate" privilege which will be used for the initial authentication and then impersonation is done. It is all fine but from where do we get the credentials to use such a user. I suppose this user should be created first and his credentials stored somewhere in the application in order to be retrieved and used when authentication is required but it still does not seem right and much more complex than what is done in salesforce.
Thanks in advance!
Enoch
*This post is locked for comments
I have the same question (0)