Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

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

(0) ShareShare
ReportReport
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,058 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans