Hello amanpreetsingh-msft,
Yes exactly. I know that the default run user flow test button in the Azure Portal uses login=prompt
and that is why I removed them from my queries. My scenario is the following:
- Hit a page to my application
- Get challenged and redirected to my custom policy Sign In flow
- Sign in using password
- Application finishes the Open Id flow, acquire the token and sets the authentication cookie.
- I sign out from my application (clear the authentication cookie, and don't forward anything to the IDP)
Then when I start over within the same browser, I expect to skip Step 3. Are my assumptions correct?
I actually see that my b2clogin.com
has the follow sessions cookies, which matches what you told me about the browser session:
- x-ms.cpim-cache
- x-ms.cpim-trans
- x-ms.cpim-csrf
- x-ms.cpim-sso <-- this cookie was added after a successful login
I also tried changing the SingleSignOn element in the relying party file (tried every values except "never")
<RelyingParty>
<DefaultUserJourney ReferenceId="SignUpOrSignIn" />
<UserJourneyBehaviors>
<SingleSignOn Scope="Application">
What else shoud I try? Anything else I need to know?