Skip to content
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

Get username & expiry along with token #1

Open
bsoule opened this issue Mar 9, 2023 · 0 comments
Open

Get username & expiry along with token #1

bsoule opened this issue Mar 9, 2023 · 0 comments

Comments

@bsoule
Copy link
Member

bsoule commented Mar 9, 2023

Lichess gives only the issued token in the "obtain access token" phase of the oauth dance, and we could potentially override the omniauth defaults to make another call to lichess /api/token/test endpoint to annotate the returned token info with an expiry date and a username.

Or we could leave it up to the client to do that and get additional information on the Beebody side of things as we need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant