Signout Behaviour change in Custom POlicy and Builtin user flow.

Saqib Ahmed 46 Reputation points

Hi, I am having this strange issue with my Custom Policies…. Based on SocialAndLocalAccountsWithMfa starter pack.
The behaviour that we are looking for is as follows and is achieved with User flows is
When the user sign-outs form the application and then hits sign in again, he should be prompted for a reauthentication.
But when I use the same app to execute custom Policy it will reauthenticate without entering creds.
I have adjusted the <UserJourneyBehaviors> but nothing.
I added and changed following in

      <SingleSignOn Scope="Policy" KeepAliveInDays="7" />  
      <JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="your-application-insights-key" DeveloperMode="true" ClientEnabled="false" ServerEnabled="true" TelemetryVersion="1.0.0" /-->  

is there a way to check if there is a failure to sign out for the user or any way to debug the issue? Or way to change the behaviour?

The application goes to the logouturl when the user hits the Signout form application.

  1. Request URL:
  2. Request Method:
  3. Status Code:
    200 OK

Following is the url when user Clicks SignIn from the application and get logged in without authentication.

  1. Request URL:
  2. Request Method:
  3. Status Code:
    200 OK

Any Help will be highly appreciated to track it down or change the behaviour

I have also configured Single-Signout following this article but doesn’t change the behaviour.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,757 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2020-07-09T20:38:49.85+00:00

    Set SessionExpiryType to Absolute. You can also add the prompt=login query parameter to your request to force re-authentication.