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

We need to cache access tokens #41

Open
larf311 opened this issue Dec 3, 2021 · 2 comments
Open

We need to cache access tokens #41

larf311 opened this issue Dec 3, 2021 · 2 comments

Comments

@larf311
Copy link

larf311 commented Dec 3, 2021

We went over our quota on machine to machine (client credentials) authentication requests. We need to ensure we cache the access token and only re-request it when it expires.

@NRHelmi
Copy link
Contributor

NRHelmi commented Aug 5, 2022

All rai sdks support access token caching:

Golang sdk caches access token on disk ~/.rai/tokens.json so this should solve the issue for the cli.

@larf311 I would appreciate a second eye on this, otherwise we could close this issue 🙏

@billscheidel-rai
Copy link

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-4034.

This link is only accessible to employees of RelationalAI.

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

No branches or pull requests

4 participants