question

ManuelHeye-4919 avatar image
0 Votes"
ManuelHeye-4919 asked ManuelHeye-4919 commented

Keep me signed in

Hello

Context Azure AD B2C.

I've created a default user flow for local accounts for sign in. (Sign in (Recommended))
but the "keep me signed in" option is not working at all... the checkbox is shown but doesn't seem to store cookies etc...

Every time i access the login url i need to enter my credentials....


Thx for some feedback

azure-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered ManuelHeye-4919 commented

Hi @ManuelHeye-4919 • Thank you for reaching out.

If you are using the "Run Now" endpoint to run the user flow, make sure that you remove the prompt=login parameter from the end of the URL. If you are accessing the URL using an application, review the code to make sure prompt=login parameter is not being supplied in the request.

When the prompt parameter is set to login, all the cookies and SSO sessions are ignored and the user is forced to sign in again.

Just for your reference, the prompt parameter can have below values:

  • prompt=login forces the user to enter their credentials on that request, negating single-sign on.

  • prompt=none is the opposite. It ensures that the user isn't presented with any interactive prompt. If the request can't be completed silently by using single-sign on, the Microsoft identity platform returns an interaction_required error.

  • prompt=consent triggers the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.

  • prompt=select_account interrupts single sign-on providing account selection experience listing all the accounts either in session or any remembered account or an option to choose to use a different account altogether.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thanks for the quick response !!

0 Votes 0 ·