• Hi

    On custom end point I want to decode token.
    so I customised plugin and write function in plugin.

        public function rest_jwt_token_decode($token) {
    
          $secret_key = defined('JWT_AUTH_SECRET_KEY') ? JWT_AUTH_SECRET_KEY : false;
          return JWT::decode($token, $secret_key, array('HS256'));
        }

    can you tell me how to do it in other way?

The topic ‘JWT Decode’ is closed to new replies.