Skip to content

Commit

Permalink
Do not use keycloak.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Attila L. Egyedi committed Jul 12, 2023
1 parent 0c6fa55 commit 73bf050
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 0 additions & 8 deletions app/keycloak.json

This file was deleted.

6 changes: 5 additions & 1 deletion app/scripts/handlers/KeycloakUserHandler.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
function KeycloakUserHandler() {

const keycloak = Keycloak();
const keycloak = Keycloak({
"realm" : "CEDAR",
"url" : window.location.origin.replaceAll('/cedar.', '/auth.'),
"clientId": "cedar-angular-app"
});

this.doLogin = function () {
keycloak.login();
Expand Down

0 comments on commit 73bf050

Please sign in to comment.