Closed sloganking closed 3 months ago
Hey! Sorry for getting to it so late.
I was indeed able to reproduce this, using io::stdin.read_line()
to read the code. I assume you were using it too?
Anyway, the issue in this case was that an \r\n
was appended at the end of the code. It's fixed now. Thanks!
I am generating a URL for the user to log into via
After clicking the URL, and manually logging in, I am redirected to:
http://localhost:3000/?code=...&state=...
(where...
are codes.I am passing
code
to"auth_code"
andstate
to"csrf_token"
, in thefunction. But as a result I get
Is this an error in this lib or am I doing something wrong?