Skip to content

Conversation

@srijan-chaudhuri
Copy link

@srijan-chaudhuri srijan-chaudhuri commented Sep 16, 2024

Description of Change:

This PR introduces a cleaner way of handling errors so users can get more information about the point of failure.

Key changes:

OAuth2 authentication using client_id, client_secret, and refresh_token.
Password-based authentication using username, password, and security_token.
Retry logic for OAuth2 failures via the backoff library, ensuring retriable errors like expired tokens are automatically handled.
Automatic token refresh every 15 minutes using a background thread for OAuth2.
Config parsing to select and use the correct credential type (OAuth or password).

Closes issue:

#62

@srijan-chaudhuri srijan-chaudhuri changed the title init commit Feat: authentication module that supports both OAuth2 Sep 19, 2024
@srijan-chaudhuri srijan-chaudhuri changed the title Feat: authentication module that supports both OAuth2 feat: authentication module that supports both OAuth2 Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant