Replies: 1 comment 5 replies
-
Upon further investigation, the problem seems to be in the way I am creating the access token. When I checked the authorization section of the response header, the encoded data included:
However, the one I am generating has less data:
I will see if I can generate a token that matches exactly. But I am still open to advice in case there is a better way to do this. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am hoping to add an additional way to log in to a rodauth app, using just an access code. To that end, I thought I might be able to make this happen in before_login_route. The access token I encoded seems to work for accessing my endpoints, but when I try to use my refresh_token I get an "invalid JWT refresh token" error.
Is there something missing or wrong with the way I generated the refresh token? Is there perhaps a better way of accomplishing what I am trying to do? Any advice would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions