Describe the bug
When the query parameter prompt=login is included in an OAuth2 provider request and the user is not logged in, the user is required to log in twice to complete the OAuth2 login process. maybe we should overwrite the function, remove the prompt=login before redirecting to authentication flow if we haven't logged in yet.
Describe the bug When the query parameter
prompt=login
is included in an OAuth2 provider request and the user is not logged in, the user is required to log in twice to complete the OAuth2 login process. maybe we should overwrite the function, remove theprompt=login
before redirecting to authentication flow if we haven't logged in yet.To Reproduce Steps to reproduce the behavior:
/application/o/authorize/?client_id=xx&redirect_uri=xx&response_type=code&prompt=login
/application/o/authorize/
URL.Expected behavior Should login once and redirect to redirec_uri we specified
Version and Deployment (please complete the following information):
Additional context Add any other context about the problem here.