Skip to content

Commit

Permalink
Fix OIDC Dev UI in case Swagger is not added
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Kruger <[email protected]>
  • Loading branch information
phillip-kruger committed Sep 13, 2021
1 parent c317c45 commit 096dae7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
}

function navigateToSwaggerUi(){
{#if info:swaggerIsAvailable}
var url = "{config:http-path('quarkus.swagger-ui.path')}";

var authorizedValue = {
Expand All @@ -159,6 +160,7 @@

localStorage.setItem('authorized', JSON.stringify(authorizedValue));
window.open(url, '_blank').focus();
{/if}
}

function copyToClipboard(token, type){
Expand Down

0 comments on commit 096dae7

Please sign in to comment.