disciple-tools-theme
disciple-tools-theme copied to clipboard
#2346 - Sign-In Workflow With Auth Token Or Cookie Redirect Payload
- fixes: #2346
POST to http://multisite.lwp/wp-json/jwt-auth/v1/token/validate
with body param: auto_refresh_token: true
returns date.token
{
"code": "jwt_auth_valid_token",
"data": {
"status": 200,
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL211bHRpc2l0ZS5sd3AiLCJpYXQiOjE3Mjc5NTkyMTUsIm5iZiI6MTcyNzk1OTIxNSwiZXhwIjoxNzI4NTY4NTIwLCJkYXRhIjp7InVzZXIiOnsiaWQiOiIxIn19fQ.trtJCjmBrzAPKkSQjEgVJsfUYJmn2-KGmMaIFLd43NU"
}
}
@todo, and endpoint for refresh