@yaagoub/keycloak
v1.0.5
Published
Downloads
625
Readme
keycloak
Step 1: Import provide
In your app.config.ts file, import the necessary provide to set up OAuth2:
provideKeycloakConfig({
clientId: 'public-client',
callbackRedirectUri: 'https://xxxx.com/auth/login',
logoutRedirectUri: 'https://xxx.com/home',
realmUrl: 'https://xxxx.com/realms/xx',
scope: 'openid profile email',
secret: 'xxxx', // this.ygbCrypto.generateSecret(32)
})