Use current user in Dynamics CRM 2015 configured with IFD to authenticate against external MVC application

I have Dynamics CRM 2015 on a room instance, the IFD is configured with claims validation, as recommended by Microsoft, and works fine.

The ASP.NET MVC web application also has a separate angular application wrapped in it. The part of angular that I suppose doesn't really matter, but let it be here for the full picture. I also configured it to work with ADFS claims authentication, keeping in mind that the user must log in and use the application in the same user context in both CRM and the web application. Therefore, when a user uses an application, he uses it with the user he has registered in CRM c.

So, when I try to access the application URL, I am redirected to the adfs login, from which, after logging in, I will be redirected to the application index page. It works great.

In CRM, I have a feed button that transfers selected entries to a web application, directly to the URL of the web application, since https://webapp.domain.com:port . The selected entries are only mentioned here as information, and this is not a problem.

Now my problem is that when I access CRM, I log into ADFS and then try to click a button to open the URL of the web application, I will close the ADFS login screen again. If I try to log in with the same user, I am stuck in a loop without sending any requests, and the fields are constantly cleared, without the possibility of logging in. Thus, users can no longer access it. This is not browser related.

Correction:

, , , , , . , , , , :

  • IE: Windows ADFS, , OK. .

  • Chrome: : "DOMAIN\USERNAME" .

  • Firefox: , .

- , URL- CRM .

, , . - , , , ?

- : Requirement Rules for MVC Application

+4

All Articles