updated authen with keycloak client
This commit is contained in:
parent
93cf472aae
commit
9ec6a7696a
8 changed files with 378 additions and 32 deletions
|
|
@ -1,10 +1,13 @@
|
|||
// authen with keycloak client
|
||||
import Keycloak from 'keycloak-js'
|
||||
|
||||
const keycloakConfig = {
|
||||
url: 'https://id.frappet.synology.me/auth',
|
||||
url: 'https://id.frappet.synology.me',
|
||||
realm: 'bma-ehr',
|
||||
clientId: 'gettoken',
|
||||
clientSecret: 'qsFwDb5anVoXKKwoeivrByIn9VYWQNRn',
|
||||
}
|
||||
|
||||
const keycloak = new Keycloak(keycloakConfig)
|
||||
export default keycloak
|
||||
export { keycloakConfig }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue