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

API Client authentication not working #117

Open
grahampugh opened this issue Sep 7, 2023 · 1 comment
Open

API Client authentication not working #117

grahampugh opened this issue Sep 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@grahampugh
Copy link
Owner

I had made an assumption that the output of /api/oauth/token would be the same as that of /api/v1/auth/token, but it is not.

In /api/v1/auth/token, the token key is token and the expires token is expires.
In /api/oauth/token, the token key is access_token and the expires token is expires_in.

Furthermore, the time outputted from the expires key differs; a timestamp vs. the number of seconds until expiry.

@grahampugh grahampugh added the bug Something isn't working label Sep 7, 2023
@grahampugh grahampugh self-assigned this Sep 7, 2023
@grahampugh
Copy link
Owner Author

This is partially fixed but note that renewal of API Client tokens is not supported. I'll leave this open for now to check if that's an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant