• Resolved nitishrai2

    (@nitishrai2)


    First of all congratulate on an awesome plugin you have got here.

    I know this could be a duplicate issue but the only thread could not be much of a help.

    In general setting of the plugin

    Decryption key source - Plugin Settings
    JWT Decrypt Algorithm - HS256
    JWT Decryption Key - my-secret-key

    I am using py-jwt to create the token. Below is the code

    encoded_jwt = jwt.encode({"some": "payload"}, 'my-secret-key', algorithm="HS256")

    When using the Endpoint to Autologin

    https://<my-domain>/?rest_route=/simple-jwt-login/v1/autologin&JWT=<encoded_jwt>

    I am getting below error

    {"success":false,"data":{"message":"Signature verification failed","errorCode":11}}

    Can you please help me what am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you unable to use the /auth authorization endpoint in your use case?

    Thread Starter nitishrai2

    (@nitishrai2)

    We can mark the ticket resolve. Was able to solve this issue. The issue was with Base64 encoding.

    Just to answer your question, auth endpoint will be of no help here. We only have email of the users in our scenario to make them autologin.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Signature Verification Failed, Error Code 11’ is closed to new replies.