Skip to content

Add a new parameter to define if IAM is activated, to bypass APISIX issues#43

Merged
gfenoy merged 6 commits into
mainfrom
develop
May 12, 2026
Merged

Add a new parameter to define if IAM is activated, to bypass APISIX issues#43
gfenoy merged 6 commits into
mainfrom
develop

Conversation

@gfenoy

@gfenoy gfenoy commented May 1, 2026

Copy link
Copy Markdown
Member

This pull request updates how the Swagger UI component determines which OGC API server base URL to use, adding support for environments with IAM (Identity and Access Management) enabled. It introduces a new environment variable to control this behavior and adjusts the logic accordingly.

Configuration and environment variable changes:

  • Added the ZOO_IAM_ENABLED environment variable to the Nuxt public runtime config in nuxt.config.ts, allowing the app to detect if IAM is enabled.

Swagger UI server URL resolution logic:

  • Updated components/SwaggerUI.vue to check if ZOO_IAM_ENABLED is set to 'true'. If so, it always uses the static fallback URL for the OGC API server, bypassing the per-user server base resolution. If not, it retains the previous behavior of resolving the per-user server base URL.

@gfenoy gfenoy merged commit b88da84 into main May 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant