OpenCHAMI / bss

MIT License
1 stars 2 forks source link

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

Closed davidallendj closed 4 months ago

davidallendj commented 4 months ago

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 commented 4 months ago

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