I am currently getting an error when using this gem with devise-jwt. In the payload_for_user method, the user.jwt_payload is merged with the payload from the gem. This field, though, is already a JWT token string, so I get the error: undefined method 'merge' for <String:0x000055c4332f0df8>>
I haven't heard of anyone having this problem before, so I am unsure of the cause. Do you have any insight?
I am currently getting an error when using this gem with
devise-jwt
. In thepayload_for_user
method, theuser.jwt_payload
is merged with the payload from the gem. This field, though, is already a JWT token string, so I get the error:undefined method 'merge' for <String:0x000055c4332f0df8>>
I haven't heard of anyone having this problem before, so I am unsure of the cause. Do you have any insight?