Skip to content

Return more details error message when OAuth endpoints cannot be resolved. #1250

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renaudhartert-db
Copy link
Contributor

What changes are proposed in this pull request?

This PR slightly updates the endpoint resolution logic to return more details error message when OAuth endpoints cannot be resolved. It also update the TokenCache not found error to be more aligned with its semantic in the context of the token cache.

How is this tested?

Updated relevant unit tests.

Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1250
  • Commit SHA: 61b7ce0c4c3f1f2cc172e3940462faf978f04db6

Checks will be approved automatically on success.

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.

1 participant