Skip to content

We need to cache access tokens #41

Open

Description

@larf311

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.

Activity

  1. NRHelmi commented on Aug 5, 2022

    @NRHelmi
    Contributor

    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 🙏

  2. billscheidel-rai commented on Dec 6, 2022

    @billscheidel-rai

    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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions