Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Portal: Remember browser 2FA not working and Code sending delay

Posted on by

I have a Powerapps Portal with Dynamics365 (Portal-Typ = StarterPortal 9.3.11.12)

We have Local authentication with 2FA sending via Email. I added the Website-Setting "Authentication/Registration/RememberBrowserEnabled". Then the checkbox "Remember Browser" appears. If I activate the checkbox and log in with the 2FA code and after that loggin again, the 2FA code is no longer required, as expected. When I close the browser and log in again, the 2FA code is requested again. I try different browser but after closing the browser the "Remember"-Funktion is forgotten. Is there a fix?

Another problem we have is that the 2FA code is sometimes delayed (email). I tried to extend the validity of the 2FA code with the website setting "Authentication / TwoFactorCookie / ExpireTimeSpan". But unfortunately the 2FA code is only valid for 5 minutes. I have under Value this value: 00:55:00. Is tehre a limit for max. 6min? 

I hope someone can help. Thanks in advance.

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Portal: Remember browser 2FA not working and Code sending delay

    Hi,

    "Authentication/Registration/RememberBrowserEnabledSelects or clears a Remember browser? check box on second-factor validation (email code) to persist the second-factor validation for the current browser. The user won't be required to pass the second-factor validation for their next sign-ins, as long as they use the same browser.

    So if you use the same browser and the portal asks the 2FA code again, please try to check if you enabled the option which will clear the cookies when the browser is closed.

    For example, here is the option for Edge browser.

    pastedimage1641547687970v2.png


    "Authentication/TwoFactorCookie/ExpireTimeSpanControls how much time a two-factor cookie will remain valid from the moment it was created. Value shouldn't exceed 6 minutes.

    Ref: Cookie authentication site settings

    pastedimage1641547103948v1.png

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans