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

fix(core): Set token endpoint manually if client creds provided in server sdk_config #1780

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

elizabethhealy
Copy link
Member

Proposed Changes

We run the server sdk in IPC mode so it does not reach out to well-known on instantiation because well-known isnt running yet. This means the token endpoint is never set. So if a service using the server sdk wanted to do a decrypt for example (a request that needs an auth token) they would get an error.
This will manually set the token endpoint on instantiation using the issuer provided in the yaml config.

Checklist

  • I have added or updated unit tests
  • I have added or updated integration tests (if appropriate)
  • I have added or updated documentation

Testing Instructions

@elizabethhealy elizabethhealy marked this pull request as ready for review November 21, 2024 19:38
@elizabethhealy elizabethhealy requested a review from a team as a code owner November 21, 2024 19:38
@strantalis strantalis added this pull request to the merge queue Nov 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 21, 2024
@elizabethhealy elizabethhealy added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 07a1dbd Nov 22, 2024
21 checks passed
@elizabethhealy elizabethhealy deleted the set-tokenendpoint-for-sdk-config branch November 22, 2024 17:40
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.

3 participants