diff --git a/extensions/oidc/deployment/src/main/resources/dev-templates/provider.html b/extensions/oidc/deployment/src/main/resources/dev-templates/provider.html index b1c10670b2583..a7d104edab60a 100644 --- a/extensions/oidc/deployment/src/main/resources/dev-templates/provider.html +++ b/extensions/oidc/deployment/src/main/resources/dev-templates/provider.html @@ -136,6 +136,7 @@ } function navigateToSwaggerUi(){ + {#if info:swaggerIsAvailable} var url = "{config:http-path('quarkus.swagger-ui.path')}"; var authorizedValue = { @@ -159,6 +160,7 @@ localStorage.setItem('authorized', JSON.stringify(authorizedValue)); window.open(url, '_blank').focus(); + {/if} } function copyToClipboard(token, type){