Skip to content

Replace API key/secret auth with session token and refresh token#13

Merged
darrell-d merged 13 commits intomainfrom
feature/update-env-var-usage
Mar 6, 2026
Merged

Replace API key/secret auth with session token and refresh token#13
darrell-d merged 13 commits intomainfrom
feature/update-env-var-usage

Conversation

@darrell-d
Copy link
Copy Markdown
Contributor

@darrell-d darrell-d commented Feb 17, 2026

Also adds refresh to get a new token if 401 or 403 occur

Comment thread processor/config.py Outdated
Comment thread processor/clients/base_client.py Outdated
Comment thread processor/config.py Outdated
Copy link
Copy Markdown
Collaborator

@rohanshah rohanshah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way we can have two authentication clients that conform to the same interface and the interface is passed to the importer instead and the config just instantiates whichever authorization client implementation based on session/refresh vs token/secret?

Comment thread processor/clients/workflow_client.py Outdated
Comment thread tests/test_workflow_client.py Outdated
Comment thread processor/clients/authentication_client.py Outdated
Comment thread processor/clients/authentication_client.py Outdated
Copy link
Copy Markdown

@edmore edmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments @darrell-d

@darrell-d darrell-d merged commit 03a42fc into main Mar 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants