Skip to main content

Notifications

Dynamics 365 general forum

How to reuse contact-based authentication mechanism used by CRM Portal, in a third party website?

Posted on by Microsoft Employee

Hey there, 

We have a custom website (developed using third party CMS) that creates a contact in D365 Online CRM with each user sign-up on the website. Moreover, it stores user credentials in the contact record. We are unable to find, access and hook into, authentication mechanism used by CRM Portal behind the scene. Hence, we redirect user to CRM portal for sign-in and it redirects user back with user identity after successful authentication.

Is it possible to access authentication mechanism used by CRM Portal and wrap it in Web API, so that we can authenticate user within the custom website, without redirection to CRM portal?

Thanks for your help!

  • shameervv Profile Picture
    shameervv 10 on at
    RE: How to reuse contact-based authentication mechanism used by CRM Portal, in a third party website?

    Hi Mohit,

    I am also having similar requirement. Were you able to find any solution?

  • Suggested answer
    Emre GULCAN Profile Picture
    Emre GULCAN 2,379 on at
    RE: How to reuse contact-based authentication mechanism used by CRM Portal, in a third party website?

    Hi,

    If you installed Dynamics Portal, you can use its authentication mechanism inside your custom code, please check links below;

    community.dynamics.com/.../283515

    stackoverflow.com/.../asp-net-identitys-default-password-hasher-how-does-it-work-and-is-it-secure

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans