-
-
Save Danny-P/3b85a4f7162966118e621517c756c711 to your computer and use it in GitHub Desktop.
Demo keycloak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The file contents for the current environment will overwrite these during build. | |
// The build system defaults to the dev environment which uses `environment.ts`, but if you do | |
// `ng build --env=prod` then `environment.prod.ts` will be used instead. | |
// The list of which env maps to which file can be found in `.angular-cli.json`. | |
import { KeycloakConfig } from 'keycloak-angular'; | |
// Add here your keycloak setup infos | |
let keycloakConfig: KeycloakConfig = { | |
url: 'https://development.danielpomrehn.net:8443/auth', | |
realm: 'heros', | |
clientId: 'app' | |
}; | |
export const environment = { | |
production: false, | |
assets: { dotaImages: 'https://api.opendota.com/apps/dota2/images' }, | |
apis: { dota: 'https://api.opendota.com/api' }, | |
keycloak: keycloakConfig | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment