Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/oauth2-x-security-token-exchange.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@redocly/respect-core': minor
'@redocly/openapi-core': minor
'@redocly/cli': minor
---

Added OAuth2 token exchange for `x-security` schemes with the `password` and `clientCredentials` flows. Respect fetches the access token from `tokenUrl` and apply `Authorization: Bearer` to the request, which allows to manually obtain a `accessToken`. The `x-security-scheme-required-values` rule now validates the credentials required by the declared flow. Pre-fetched `accessToken` values continue to work.
Loading
Loading