Skip to content

Fix fromJson method.#23

Open
ChristianGiupponi wants to merge 1 commit into
RayOkaah:masterfrom
ChristianGiupponi:master
Open

Fix fromJson method.#23
ChristianGiupponi wants to merge 1 commit into
RayOkaah:masterfrom
ChristianGiupponi:master

Conversation

@ChristianGiupponi

Copy link
Copy Markdown

JWT plugins returns data in "data" key.

Example from Postman:

{
    "success": true,
    "statusCode": 200,
    "code": "jwt_auth_valid_credential",
    "message": "Credential is valid",
    "data": {
        "token": "token string here",
        "id": 1,
        "email": "info@example.com",
        "nicename": "christian",
        "firstName": "Christian",
        "lastName": "Giupponi",
        "displayName": "christian"
    }
}

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.

2 participants