openid-connect-generic
openid-connect-generic copied to clipboard
Add redirect_to to OpenID_Connect_Generic_Client_Wrapper::error_redirect()
Is your feature request related to a problem? Please describe.
If you will be redirected for an erroneous reason to the login page and login back again, you’re not on the URL you were since this information is lost during the error_redirect method in OpenID_Connect_Generic_Client_Wrapper.
Describe the solution you'd like
I would like to add the redirect_to parameter with the current URL before the redirect takes place in order to be properly redirected to this URL after a successful login again.
Describe alternatives you've considered #312 should also be viable, but it requires manual work afterwards.
I would also add a pull request if this is a solution you would accept. 🙂