Skip to content

Commit

Permalink
Merge pull request #20086 from phillip-kruger/oidc-dev-ui-fix
Browse files Browse the repository at this point in the history
Fix OIDC Dev UI in case Swagger is not added
  • Loading branch information
sberyozkin authored Sep 13, 2021
2 parents 933d4a5 + 096dae7 commit 7a5c94d
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 7a5c94d

Please sign in to comment.