-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matching on token after refresh fails #12
Comments
That is almost certainly a copy/paste error on my part, and by dumb luck never ran into that case (or apparently noticed when it did). I don't have a build setup any more, so if you want to submit a PR, please feel free. Thanks. |
Can this be tagged as well? I ran into this using the |
Oh shoot, and this was fixed months ago, too. I've just added the tag, sorry about that. |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I assume that matching on Token in:
enenra/src/enenra_server.erl
Line 51 in fc25303
is aimed to be an assignment instead. If we get a new token returned from
call_remote({refresh_token, Credentials}),
different from Token, then this gives a badmatch.Instead one should use FreshToken as variable.
The text was updated successfully, but these errors were encountered: