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

Refresh token is obsolete error received when both login credentials and refresh token cookie is provided #128

Closed
dominic-ks opened this issue Aug 2, 2024 · 1 comment

Comments

@dominic-ks
Copy link
Collaborator

This was initially reported on WordPress.org:

In short, if a request is sent to the /token endpoint with both login credentials in the request body and a refresh token cookie, the above error is returned.

It's been reported that in at least some front end environments, cookies are sent automatically and therefore need to be cleared in order to make a successful call.

It's been suggested that the handling be changed so that if login credentials are provided, then the refresh cookie is ignored, and so is treated like a normal login request.

@dominic-ks
Copy link
Collaborator Author

Closing as a duplicate of #127

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