at /api/me
, I get
error "invalid_grant"
error_description "The token has invalid role"
I tried looking into source code, but how do I use req.role
? Should I send token in url query?
at /api/me
, I get
error "invalid_grant"
error_description "The token has invalid role"
I tried looking into source code, but how do I use req.role
? Should I send token in url query?
Try js sdk.
client.me
uses that endpoint, you will have tosetAccessToken
before callingclient.me
. Read here: https://github.com/ledgerconnect/hivesigner.js#get-user-profile