web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Portal Portal User abl...
Power Pages
Unanswered

Portal Portal User able to sign in without Azure AD B2C credentials after Session Time Out

(0) ShareShare
ReportReport
Posted on by 2

Hi Guys,

 

I have added site setting values to configure session time out for Power Portal users once they are signed in via Azure AD B2C. However, upon testing, I can see that once the session gets timed out, if the user clicks on Sign In again, it is not asking for the credentials. Rather it automatically signs in for the user without redirecting to Azure AD B2C user flow for authentication.

 

These are the site settings I have configured - 

Authentication/ApplicationCookie/ExpireTimeSpan - 00:30:00

Authentication/OpenIdConnect/AAD-B2C_1/ExternalLogoutEnabled - true

Authentication/ApplicationCookie/LoginPath - /SignIn

 

Can you please let me know how to solve this?

 

@Fubar @OliverRodrigues @ragavanrajan 

 

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

     

    They can all play a role - you need to make sure they are aligned to each other (e.g. one session timeout setting can keep its session open and then reopen/renew the other session).

     

    I think from memory one scenario where the nonce one comes into play is where the user Starts on the Portal, then goes to sign on at (for example) B2C but sits at the B2C interface too long, then hits the b2c sign-in button, when B2C pushes them back to the Portal the portal can reject the sign-in as the nonce has expired.

     

  • SamirPrusty Profile Picture
    2 on at

    @Fubar , thanks for the reply. I have configured 30 mins as session timeout duration in both Power Portal and Azure AD B2C user flow. Still, unable to force user to sign in after being signed out.

     

    I am not updating the nonce lifetime, as it is not currently relevant to my scenario.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard