AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

'prompt=none' not set? Can account selection be omitted? #757

Closed MrTiny75 closed 4 years ago

MrTiny75 commented 6 years ago

The parameter prompt get removed from query parameters at adal.js line 504 . For my purpose I need prompt to be set to none. Although the comment at line 502 mentions that prompt get set to none I cannot find any code that really sets prompt to none. Is it missing? When I add "urlNavigate = urlNavigate + '&prompt=none' " by myself less prompts appear. Anyway I get offered to select another user account sometimes. Is it possible to omit this prompt and to use the standard account by default?

nehaagrawal commented 6 years ago

@MrTiny75 The recommended value for prompt is 'select_account' for login. promp=node is not a valid value for login API.

sameerag commented 4 years ago

All current authentication work from microsoft is delivered through msal js library here. adal js is still supported only for security fixes. We would recommend to move to msal js for any advanced feature asks.