Azure-Samples / active-directory-b2c-advanced-policies

Sample for use with Azure AD B2C with Custom Policies.
http://aka.ms/aadb2ccustom
MIT License
218 stars 143 forks source link

Keep me signed in (KMSI) experience #23

Closed ltouro closed 6 years ago

ltouro commented 6 years ago

I was able to enable KMSI experience by using the UserJourneyBehaviors XML node. The Sign-in Or Sign-Up policy already shows the button "Keep me signed in?".

Notwithstanding, by acessing the URL for Login again (i.e. Run Now), the user is still redirect to the login page. Should'nt the user be redirect to the final page after checking KMSI option the first time?

Otherwise, how can I test the KMSI experience?

Thanks once more for these wonderful resources.

chrispadgettlivecom commented 6 years ago

Hi @ltouro

The "Run Now" link includes the prompt=login parameter which forces-reauthentication. You can remove this from the generated link to test the KMSI experience.

ltouro commented 6 years ago

@chrispadgettlivecom Thanks once more!

kubaizi commented 6 years ago

but how can i localize it ? i try <LocalizedString ElementType="UxElement" StringId="remember_me">blah blah</LocalizedString> but still give me :

the localized string with ElementType: UxElement and StringId: remember_me has an invalid StringId

everything else is working