Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

Posted on by 290

Hi Guys,

is this even possible?

I would do it in a way --> xxxxxxxxxxxxx/login

BR,

Miha

*This post is locked for comments

  • Miha Mocnik Profile Picture
    Miha Mocnik 290 on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    Thank you!

  • Verified answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    Hi Miha,

    If you are planning to have it on MS Portal then I think you can go ahead with this approach. You can send the Portal Sign Page URL along with encrypted username and password. And on the Sign In Page load, you can write a logic to get the encrypted data from URL, Decrypt that and can perform the Auto login.

    I am just wondering to use about the other options that user is having on Login page. Like Forget Password.

    But, I think you can manage that by keeping a flag on Portal Contact record and ask user to enable whether he/she wants to have Auto Login option or not. If User opt Yes, then only Auto Login functionality should work.

    Hope it helps.

    To Customize Login Page, you can check my below article:

    http://arpitmscrmhunt.blogspot.co.uk/2017/05/edit-stylelayout-of-login-page-in-crm.html


    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

     

  • Miha Mocnik Profile Picture
    Miha Mocnik 290 on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    Hi Arpit!

    thank you for the info.

    What if we want to have only MS Portals and generate some link with the encrypted username, pass and some validation date (how long is the link valid) so the user who gets this link is automatically logged as this Contact? Is this supported?

    BR,

    Miha

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    Hi Miha,

    Having both Adxstudio Portal and Microsoft Portal solutions at the same time is an unsupported scenario.

    If you are planning to use Microsoft Portal then first plan to upgrade your Adxstudio to Microsoft Portal instead of keeping both in the same instance. By doing this your Adxstudio User can access the Microsoft Portals as well without doing any additional settings/configurations.

    Hope it helps.

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

     

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    Hi Miha,

    You might be able to migrate the credentials from ADX to CRM Portals, but that will not solve the double authentication issue unless you create a shared authentication provider between both systems:

    Take a look at Azure AD authentication, oAuth2 or SAML.

    Hope this helps.

  • Miha Mocnik Profile Picture
    Miha Mocnik 290 on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    I also think the same but didn't have any other idea how to achieve this..

    Use case: customer has ADX portal and we want to add the MS CRM Portal and then apply  our solution there. The question would be how to achieve that both ADX and MS CRM portal uses the same credentials for login. E.g. user is already registered in the old ADX and then click on one link and it is redirrected to MS CRM portal and it is automatically logged in.

    Maybe, the solution would be just to have both on the same Platform but this brings additional cost for the client which would probably not be confirmed..

    I really don't have any idea what can we do here that is not expensive for the client..

    Thank you!

  • Craig P. Fleming Profile Picture
    Craig P. Fleming 950 on at
    RE: Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

    This seems like such a bad idea, what is the use case that you intend to use it for? Perhaps that detail might bring about some alternative solutions.

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans