Skip to content

Axiom Driver: Renew auth token when or before it expires #365

Description

@w-le

In e2e testing I've found that the axiom auth token expires very quickly so I urgently added this really bad re-auth implementation so that the testing session could continue: 87f49d2

Are you able to add a proper, elegant fix for expired auth tokens?
e.g. if when receiving the token there is an expiry time, then our client should renew before that expiry time is reached.
Or, at the very least, api requests that result in an "Unauthorized" response should transparently attempt to re-authenticate at the client lib level instead of the driver level.

Activity

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