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

Add ability for BSS to perform client credentials grant for access token #23

Merged
merged 33 commits into from
Mar 8, 2024

Conversation

davidallendj
Copy link
Contributor

This PR gives BSS the ability to create an OAuth client, register it with an authorization server (presumably Ory Hydra currently), and fetch a token using client credentials received from registration (i.e. client credentials grant). This PR is necessary for BSS to make requests to other microservices, such as SMD, for public endpoints that do not require the user to submit an access token, such as /boot/v1/bootscript, which would cause the request to fail.

@davidallendj
Copy link
Contributor Author

@synackd Can you test this with the deployment recipes and see if it prints an access token?

cmd/boot-script-service/main.go Outdated Show resolved Hide resolved
@davidallendj davidallendj removed the not ready Not ready to merge label Feb 29, 2024
@davidallendj davidallendj changed the title [DRAFT] Add ability for BSS to perform client credentials grant for access token Add ability for BSS to perform client credentials grant for access token Feb 29, 2024
@davidallendj davidallendj merged commit d1474d6 into OpenCHAMI:main Mar 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants