Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kanishka0092

    (@kanishka0092)

    This is my payload

    {
    “iss”: “https://localhost:8000/api/auth/login”,
    “iat”: 1607628812,
    “exp”: 1607632412,
    “nbf”: 1607628812,
    “jti”: “1pFRfruoXfhmXiQj”,
    “sub”: 1,
    “prv”: “23bd5c8949f600adb39e701c400872db7a5976f7”
    }

    Plugin Author Nicu Micle

    (@nicu_m)

    Hello @kanishka0092,

    By default, the plugin has been set to check for the “id” property in the payload, in order to find the user.

    For your payload, I believe that the “sub” property has the ID of the user you want to login.

    Please go to the “Login” section, and change the value for “JWT parameter key” with the key from the payload where the user ID is stored.

    PS: please don’t forget to rate this plugin.

    Best regards,
    Nicu.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to find user data property in JWT’ is closed to new replies.