authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

No redirection from LogIn page if I go there from Forgot Password email link.

Open mrbodich opened this issue 2 years ago • 1 comments

Version: 1.1.44

Describe the bug

No redirection back to the web app, If I go through password reset flow, and I got to the LogIn page from the Reset Password email link.

Steps To Reproduce

I use oidc-client-ts module for the React app that works with any Identity provider.

  1. Go to log-in page (redirects to Authorizer instance from web app)
  2. Pick “Forgot Password” and receive Email
  3. Use link in Email and change password
  4. Click OK and it goes to log-in, enter new creds
  5. Login successful BUT… Authorizer redirects me to it’s instance http://localhost:8080/app/

Expected behavior

It has to redirect me to http://localhost:3000/login-success-redirect It does this if I just login, and not use password recovery with the email flow

First of all I go to LogIn page with the link kinda http://localhost:8080/app/?state=976da1b4587....353d5f&scope=openid%20profile%20email&redirect_uri=http://localhost:3000/signin-callback/&code=5df3b4ac-d....

So, obviously Authorizer knows where to redirect but losing the link during the password recovery flow inside it's own environment.

Screenshots

No screenshots

Desktop (please complete the following information):

  • OS: Mac OS Ventura
  • Browser Safari
  • Version

Additional context

Nothing to add

mrbodich avatar Apr 10 '23 08:04 mrbodich

@mrbodich sorry for the delay and I have started working on this, thanks for reporting

lakhansamani avatar May 02 '23 13:05 lakhansamani