This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
prompt,domain_hint and login_hint are missing in the query params sent to endpoint #261
Closed
Description
Every time we use this module to do Oauth, user is redirected to a selection page where he gets to choose his personal or work account. To avoid this additional step we can log the user in by setting query parameterx domain_hint(to either ''/organizations'' or "/consumers") and passing in a proper login_hint(email or username). By doing so user is automatically logged in from the second time and this avoids an additional step.Even "prompt" is widely used in most business use cases to reauthenticate user everytime. As these are configurable, I think it would be beneficial for different apps using this module by easing their login process. Moreover various modules like passport-azure-oauth support these params