#Noob in need of some help
5 messages · Page 1 of 1 (latest)
you can generate tokens at https://lichess.org/account/oauth/token
though if you're using java, you might want to have a look at https://github.com/tors42/chariot instead
Here's example code using the library.
OAuth2, requesting a token with no scopes: https://github.com/tors42/jbang-chariot/blob/main/scripts/opponents.java#L56
Personal Access Token: https://github.com/tors42/jbang-chariot/blob/main/scripts/opponents.java#L70
https://i.imgur.com/eSEEU7t.mp4
(From a recent forum thread, https://lichess.org/forum/lichess-feedback/favorite-opponents-entirely-glitched#5)
Here's example code without using a library - only standard Java classes,
https://github.com/tors42/lichess-oauth-pkce-app/blob/main/LichessPKCE.java