Create an OAuth dependency failure.
Error message for the surfaced failure.
Stable dependency failure reason.
OptionaldependencyStatus: number
HTTP status returned by the dependency, when available.
OptionalretryAfterSeconds: number
Retry-after hint in seconds, when available.
Optional ReadonlydependencyHTTP status returned by the OAuth dependency, when one was received.
ReadonlyreasonStable dependency failure reason used by logging and response mapping.
Optional ReadonlyretryRetry-after hint in seconds when the dependency circuit is open or rate-limited.
Error used when an OAuth dependency is unavailable.
Remarks
Token verification treats authorization-server outages differently from invalid tokens. This error maps to a 503 response and may carry
retryAfterSecondsfrom the upstream dependency.