Integrating Wordpress Authorization and Sign in with Android


Staff member
I am trying to build a native Android app for the Wordpress site. I am making use of WP REST API v2 (<a href="" rel="nofollow noreferrer"></a>) to fetch the posts and other required attributes. I require authenticating the user, for which i have used JWT Authentication for WP REST API (<a href="" rel="nofollow noreferrer"></a>)
API to Generate and Validate token works fine. However when i try to pass the generated token in the header i keep getting the below error.

    "code": "jwt_auth_bad_config",
    "message": "JWT is not configurated properly, please contact the admin",
    "data": {
        "status": 403

Any suggestions as to what is going wrong? Requesting help to get this thing running.