| title | OpenAPI 3.2: Display oauth2MetadataUrl in the built-in dashboard | ||
|---|---|---|---|
| parentIssue | 1673 | ||
| labels |
|
||
| assignees | |||
| milestone |
OpenAPI 3.2 adds an oauth2MetadataUrl field to the OAuth2 Security Scheme. This field provides the URL of the authorisation server's metadata document per RFC 8414, helping developers configure OAuth2 clients.
The built-in dashboard (src/client/) does not display any metadata about security schemes defined in the spec.
- In the built-in dashboard templates (
src/client/), read theoauth2MetadataUrlfield from each OAuth2 Security Scheme in the spec - Display this URL in the security section of the dashboard so developers can easily locate the authorisation server's metadata document when configuring OAuth2 clients against the mock server
- A spec with an OAuth2 security scheme that has
oauth2MetadataUrldisplays the URL in the dashboard - The dashboard renders correctly when
oauth2MetadataUrlis absent (no regression) - The displayed URL is a clickable link
- The change does not affect server behaviour — only the UI rendering