Angular
How to integrate Single Sign-on with Angular and Java Spring 5 frameworks
Integrating SSO with
Angular
Angular Guide for SSO OpenID-Connect
npm install angular-oauth2-oidc --saveexport const environment = {
production: true,
envName: 'local',
keycloak: {
// Url of the Identity Provider
issuer: 'https://auth.uat.industryapps.net/auth/realms/IndustryApps',
// URL of the SPA to redirect the user to after login (Development Env)
redirectUri: 'https://democustomer.uat.industryapps.net/<APPCODE>/',
// The SPA's id.
// The SPA is registerd with this id at the auth-serverß
clientId: 'APPID',
responseType: 'code',
// set the scope for the permissions the client should request
// The first three are defined by OIDC.
scope: 'openid profile email',
// Remove the requirement of using Https to simplify the demo
// THIS SHOULD NOT BE USED IN PRODUCTION
// USE A CERTIFICATE FOR YOUR IDP
// IN PRODUCTION
requireHttps: false,
// at_hash is not present in JWT token
showDebugInformation: true,
disableAtHashCheck: true
}
};
Last updated