OAuth question(s)

Sort:
fancyfinn9

I'm looking to make a "Login with Chess.com" feature on a website I'm making, but I have a few questions regarding this.

  • Can I, in the future, apply for another OAuth for an entirely different project?
  • Can I access the player's username and ID when they log in through this?

Thanks everyone! 

krasibiel

1. I assume you can apply for another OAuth for a different project, I don't see how this would hinder chess.com.

2. Yes, you do get the player's username if you log in through this. It doesn't say exactly what info you get given, but I assume you would get at least the username. From the documentation =>
JSON Web Token (JWT) that contains identity information about the user. Digitally signed by Chess.com.

More info on how it works here => https://chesscom.notion.site/Getting-started-with-Chess-com-OAuth-2-0-Server-5958e57c8c934a3aa7abda2d670969e8

fancyfinn9

Thanks a lot! happy.png