How to use the angular-auth-oidc-client.LogLevel.Debug function in angular-auth-oidc-client

To help you get started, we’ve selected a few angular-auth-oidc-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github damienbod / AspNetCoreID4External / src / AngularClient / angularApp / app / app.module.ts View on Github external
return {
                stsServer: customConfig.stsServer,
                redirectUrl: customConfig.redirect_url,
                clientId: customConfig.client_id,
                responseType: customConfig.response_type,
                scope: customConfig.scope,
                postLogoutRedirectUri: customConfig.post_logout_redirect_uri,
                startCheckSession: customConfig.start_checksession,
                silentRenew:  true,
                postLoginRoute: customConfig.startup_route,
                forbiddenRoute: customConfig.forbidden_route,
                unauthorizedRoute: customConfig.unauthorized_route,
                maxIdTokenIatOffsetAllowedInSeconds: customConfig.max_id_token_iat_offset_allowed_in_seconds,
                historyCleanupOff: true,
                useRefreshToken: true,
                logLevel: LogLevel.Debug,
            };
        }),
        switchMap((config) => oidcConfigService.withConfig(config))
github damienbod / AspNetCoreID4External / src / AngularCliClient / src / app / app.module.ts View on Github external
return () =>
      oidcConfigService.withConfig({
          stsServer: 'https://localhost:44337',
          redirectUrl: window.location.origin,
          postLogoutRedirectUri: window.location.origin,
          clientId: 'angularclient',
          scope: 'openid profile email dataEventRecords offline_access',
          responseType: 'code',
          silentRenew: true,
          renewTimeBeforeTokenExpiresInSeconds: 10,
          useRefreshToken: true,
          logLevel: LogLevel.Debug,
      });
}