openid-connect-generic icon indicating copy to clipboard operation
openid-connect-generic copied to clipboard

Add redirect_to to OpenID_Connect_Generic_Client_Wrapper::error_redirect()

Open MatzeKitt opened this issue 2 years ago • 0 comments

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. 🙂

MatzeKitt avatar Sep 20 '23 05:09 MatzeKitt