Did you look through the documentation?
https://www.chess.com/announcements/view/chess-com-oauth-login-application
Did you look through the documentation?
https://www.chess.com/announcements/view/chess-com-oauth-login-application
It may be way off, and just general advice, I have not used chess.com's OAuth API. If I'm not mistaken, the token is a JWT. If I had to guess it's in there. Take it in can check it's contents using this website.
Then in your program can use a JWT library to parse it out yourself.
It may be way off, and just general advice, I have not used chess.com's OAuth API. If I'm not mistaken, the token is a JWT. If I had to guess it's in there. Take it in can check it's contents using this website.
Then in your program can use a JWT library to parse it out yourself.
Yes this is true. You need some way to decode the JWT, like PYJWT for Python.
(How do I get**)
After getting the OAuth token, how do I get the user's username? Thanks.