Azure / Azure/azure-functions-openapi-extension
Question: How is it possible to host swagger ui behind AAD identity provider
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
Maybe someone in this community can help me here.
I have the OpenAPI hosted on a Azure Function which is protected by the OAuth2 flow via the AAD identity provider.
Now I want to "embed" the Swagger UI inside my Angular frontend application (via iFrame) but the swagger UI needs the OAuth2 token to be accessed.
One thing I already tried is that I made a blob response with the swagger UI (which worked) - but then I am unauthenticated via the swagger.json file (inside Swagger UI).
Does anyone have an idea how to handle this? Thanks for any hint.
Contributor guide
Research direction
This is a usage question involving an Azure Function protected by AAD, an Angular iframe, Swagger UI, and swagger.json; no repository files or tests are identified. Start by locating the extension's OpenAPI and UI hosting entry points, then verify how authenticated requests to swagger.json are handled. Done would be a documented, working integration path or a confirmed limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, azure, csharp, openapi
- Domain
- api, authentication, cloud, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100