Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

Posted on by 290

Hello!

I would like to achieve that user clicks on a link in the online portal and the system opens external website and automatically logins the user using oauth2, token, cookie, etc authentication. Is this supported?

Best,

Miha

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

    Hi partner,

    Please refer this doc.

    docs.microsoft.com/.../configure-portal-authentication

    Best Regards,

    Leo

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

    Hello,

    I'm afraid that at the moment you can use only providers that are listed here - docs.microsoft.com/.../configure-oauth2-settings

  • Miha Mocnik Profile Picture
    Miha Mocnik 290 on at
    RE: Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

    Hi Leo,

    thank you for info!

    Do you myb know what would be the other way around with authentication? That starting point would be in a external website and the the user will be authenticated automatically because it is a valid user also in Dynamics Portal.

    Best,

    Miha

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

    Hi parnter,

    You could encrypt your password data with md5 or hashing. But as far as I konw, D365 portal does not support deep customization like override the login function to store password and username in cache or cookie directly.

    Hope it helps.

    Best Regards,

    Leo

  • Miha Mocnik Profile Picture
    Miha Mocnik 290 on at
    RE: Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

    Hi Leo,

    you understand it correctly. The website is custom and they will provide the solution what will be suggested. Is it possible to extract password from the logged in user in Dynamics portal? I am thinking in some more secured way like hashing the username and password (if it is possible to extract) but not sure what can be achieved in the online portal - with self-hosted we wouldn't have any problems since you can have access to the portal code.

    Best,

    Miha

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Is it possible to authenticate Dynamics 365 Portal user (portal contact) with external application?

    Hi partner,

    Do you mean you want to login the external website directly from portal by clicking a link?

    If so,This has nothing to do with portal security authentication. you need to konw the external website's login authentication mechanism.

    For example, could we pass the username and psw directly in the url and when the website archieve it, does the website have the funciton to Automatic identification of accounts and passwords and login automatically?

    If my understanding is not correct, please kindly remind me and share more details about your requirement.

    Best Regards,

    Leo

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans