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

#2346 - Sign-In Workflow With Auth Token Or Cookie Redirect Payload #2548

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

kodinkat
Copy link
Contributor

@kodinkat kodinkat commented Aug 8, 2024

@corsacca
Copy link
Member

corsacca commented Oct 3, 2024

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

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

Successfully merging this pull request may close these issues.

Sign in Workflow with auth token or cookie redirect/payload
2 participants