Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost Password Link Drops User Out Of OAuth Flow #193

Open
dominic-ks opened this issue Jan 11, 2017 · 0 comments
Open

Lost Password Link Drops User Out Of OAuth Flow #193

dominic-ks opened this issue Jan 11, 2017 · 0 comments

Comments

@dominic-ks
Copy link

When sending a use to the Authorize URL and they are not logged in, they are redirected to the /wp-login.php page with the Authorize URL and tokens in the ?redirect_to param. As this is the standard WP login page, the user also has the option to reset their password. If they use this link the ?redirect_to param is then forgotten.

On the password reset page they have the option to return to the login page, however again this is without the ?redirect_to and therefore once the user logs in they are sent to the default redirect URL which out of the box is /wp-admin/ which will drop them out of the flow.

Additionally, if the user attempts to reset their password, the link that they are sent will send them to the default password reset page, again out of flow.

I appreciate that the way this works is part of the WordPress Core but thought I'd mention here as the result is a bigger issue for WP API / OAuth1, though ?redirect_to to the password reset page would be an improvement in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant