Skip to content

Commit

Permalink
Add offline access
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-pimenta-DME committed Nov 28, 2023
1 parent b69fe33 commit 60f1a2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/@core/configs/keycloak.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ export function initializeKeycloak(keycloak: KeycloakService) {
config: {
url: environment.identity.url,
realm: environment.identity.realm,
clientId: environment.identity.clientId
clientId: environment.identity.clientId,
},
initOptions: {
onLoad: 'check-sso'
onLoad: 'check-sso',
scope: 'openid offline_access'
}
}).catch(onReject => console.error(onReject));
}

0 comments on commit 60f1a2b

Please sign in to comment.