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

Enhanced Backend Functionality for Service Authorization #274

Merged
merged 13 commits into from
Nov 21, 2024

Conversation

franklbh
Copy link
Contributor

Added a new backend function authClient that:

  • Accepts an oidcConfig object with clientId, clientSecret, scope, and optional authority.

  • Instantiates a ServiceAuthorizationClient using the provided configuration.

  • Fetches an access token using the client credentials flow and returns it.

Registered the new backend function with registerBackendCallback under the name "getServiceAuthToken"

@franklbh franklbh changed the title Frank/backend service auth Enhanced Backend Functionality for Service Authorization Nov 19, 2024
package.json Outdated Show resolved Hide resolved
@franklbh franklbh self-assigned this Nov 19, 2024
Copy link
Collaborator

@ben-polinsky ben-polinsky left a comment

Choose a reason for hiding this comment

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

LGTM, not sure what the pipeline failure is about

@hl662 hl662 disabled auto-merge November 20, 2024 20:56
@hl662 hl662 enabled auto-merge (squash) November 20, 2024 20:57
@hl662 hl662 merged commit ed9fb12 into main Nov 21, 2024
13 checks passed
@hl662 hl662 deleted the Frank/backend-service-auth branch November 21, 2024 16:00
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.

Add ability for oidc-signin-tool's certa backend to retrieve an accessToken through service clients
4 participants