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

Allow supplying client id/secret for auth #89

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

stuart-mclaren-hpe
Copy link
Contributor

@stuart-mclaren-hpe stuart-mclaren-hpe commented Jan 27, 2025

Allow a user to specify a PCBe Client ID and PCBe Client
Secret as an alternative to a token.

Either (1) a token or (2) credentials (id/secret) must be provided.
The code will use the creds to generate a token when a token is
not provided directly.

Currently the environment variables being used are
PCBE_CLIENT_ID and PCBE_CLIENT_SECRET. These are defined
as constants and may be changed later (eg when integrating with
the "umbrella" hpegl provider) if desired.

@stuart-mclaren-hpe stuart-mclaren-hpe marked this pull request as ready for review January 27, 2025 14:38
Allow a user to specify a PCBe Client ID and PCBe Client
Secret as an alternative to a token.

Either (1) a token or (2) credentials (id/secret) must be provided.
The code will use the creds to generate a token when a token is
not provided directly.

Currently the environment variables being used are
`PCBE_CLIENT_ID` and `PCBE_CLIENT_SECRET`. These are defined
as constants and may be changed later (eg when integrating with
the "umbrella" hpegl provider) if desired.
@stuart-mclaren-hpe stuart-mclaren-hpe merged commit cce24ee into main Jan 27, 2025
5 checks passed
@stuart-mclaren-hpe stuart-mclaren-hpe deleted the creds-env-vars branch January 27, 2025 16:50
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.

2 participants