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

I got 401 status with valid credential via postman #92

Open
nerocil opened this issue Feb 20, 2023 · 1 comment
Open

I got 401 status with valid credential via postman #92

nerocil opened this issue Feb 20, 2023 · 1 comment

Comments

@nerocil
Copy link

nerocil commented Feb 20, 2023

https://mydomain.com/wp-json/jwt-auth/v1/token
body x-www-form-urlencoded

{
    "code": "rest_not_logged_in",
    "message": "You are not currently logged in.",
    "data": {
        "status": 401
    }
}
@wavedeck
Copy link
Contributor

@nerocil You probably experience a similar issue like i had in #111 I got it working by changing a few lines in the get_token method of class-auth.php

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

2 participants