Skip to content

Return more detailed error messaged 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

Merged
merged 3 commits into from
Jul 20, 2025

Conversation

renaudhartert-db
Copy link
Contributor

@renaudhartert-db renaudhartert-db commented Jul 17, 2025

What changes are proposed in this pull request?

This PR slightly updates the endpoint resolution logic to return more detailed error messages when OAuth endpoints cannot be resolved. It also updates 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.

@renaudhartert-db renaudhartert-db changed the title Return more details error message when OAuth endpoints cannot be resolved. Return more detailed error messaged when OAuth endpoints cannot be resolved. Jul 20, 2025
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: f5f996f58462a665ca624bf6b7c1b9dae676b7d4

Checks will be approved automatically on success.

@renaudhartert-db renaudhartert-db added this pull request to the merge queue Jul 20, 2025
Merged via the queue into main with commit 31c554d Jul 20, 2025
15 checks passed
@renaudhartert-db renaudhartert-db deleted the renaud-hartert_data/oauth-error branch July 20, 2025 15:04
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.

2 participants