Skip to main content

Notifications

Community site session details

Community site session details

Session Id : /QmqMA39hFtv5z4egb++h0
Power Pages - Power Apps Portals
Suggested answer

Sign page refresh issue

Like (1) ShareShare
ReportReport
Posted on 4 Apr 2025 12:22:06 by 2
How can I prevent my login form from being resubmitted when the sign-in page of my portal is refreshed?
Categories:
  • Michael E. Gernaey Profile Picture
    41,562 Super User 2025 Season 1 on 04 Apr 2025 at 17:48:29
    Sign page refresh issue
     
    Yes I can completely see that being a bother...
     
    Let me think on it for a moment. The issue I see is, what you are really asking for is (I think),
    if the person log in failed before, don't auto-retry it.
    if the person logged in fine before feel free to re-use those credentials?
     
    I am thinking we may be able to get it to simply force everyone to log in again but not do each separately. just spit balling here outloud
  • Suggested answer
    HP-04041215-0 Profile Picture
    2 on 04 Apr 2025 at 17:16:09
    Sign page refresh issue

    When a user attempts to log in with an incorrect password, the system correctly displays an error message indicating that the password is invalid. However, if the user refreshes the same page, the following issue occurs:

    • The error message "password is invalid" still appears, even though the login credentials (username and password) fields are cleared.
  • Suggested answer
    Michael E. Gernaey Profile Picture
    41,562 Super User 2025 Season 1 on 04 Apr 2025 at 16:39:59
    Sign page refresh issue
     
    You cannot, the transaction between submission of credentials etc will happen whenever or however many times is required for your tokens etc to be refreshed, or when a cache update is forced etc.
     
    Not that its my business but why would you want to stop that, potentially opening a security hole?
     
    As this is the answer Please Mark as the answer :-( sorry its not the answer you want, maybe I can help with whatever you are trying to do beyond that?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started