Skip to content

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented May 7, 2025

Fixes #4476

This does four things:

  • add a 'bearer' security scheme to allow putting an existing token in the Swagger UI
  • make the URLs in the security scheme explicitly relative ./ in the spec in the docs
  • make the URLS in the security scheme absolute in the hosted spec
  • allow the X-Requested-With header when doing cross-origin requests on the OAuth 2.0 endpoints, because Swagger.

Copy link

cloudflare-workers-and-pages bot commented May 7, 2025

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 514cd8e
Status: ✅  Deploy successful!
Preview URL: https://f7aec1c2.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-swagger-subpaths.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose enabled auto-merge May 7, 2025 12:53
@sandhose sandhose merged commit ad66524 into main May 7, 2025
20 checks passed
@sandhose sandhose deleted the quenting/swagger-subpaths branch May 7, 2025 12:57
@sandhose sandhose added A-Admin-API Related to the admin API T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. labels Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Admin-API Related to the admin API T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin Swagger UI doesn't work with MAS on a sub path

1 participant