When OAuth2 login is enabled, remember-me parameter (ie when it's not set to always remember) will not be honored, because the original request (to /oauth2/authorization/<provider>) is different from the actual request coming back from the OAuth2 provider (to /login/oauth2/code/<provider>), and that second request does not have the remember-me parameter set.
It would be good if this could be supported, ie when calling /oauth2/authorization/<provider>?remember-me=true, the response would set the remember-me cookie.
Expected Behavior
Remember-me cookie is set on OAuth2 login response
Current Behavior
Remember-me cookie is not set on OAuth2 login response
Context
My application offers optional OAuth2 login, along with traditional username/password login. There is a checkbox for remember-me, but this does not apply to OAuth2 login currently.
When OAuth2 login is enabled, remember-me parameter (ie when it's not set to always remember) will not be honored, because the original request (to
/oauth2/authorization/<provider>
) is different from the actual request coming back from the OAuth2 provider (to/login/oauth2/code/<provider>
), and that second request does not have theremember-me
parameter set.It would be good if this could be supported, ie when calling
/oauth2/authorization/<provider>?remember-me=true
, the response would set the remember-me cookie.Expected Behavior
Remember-me cookie is set on OAuth2 login response
Current Behavior
Remember-me cookie is not set on OAuth2 login response
Context
My application offers optional OAuth2 login, along with traditional username/password login. There is a checkbox for remember-me, but this does not apply to OAuth2 login currently.