New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@identity-base/angular-client

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@identity-base/angular-client

Angular authentication client for Identity.Base (built on @identity-base/client-core).

latest
Source
npmnpm
Version
0.8.6
Version published
Maintainers
1
Created
Source

@identity-base/angular-client

Angular DI wrapper for Identity Base, built on @identity-base/client-core.

Install

npm install @identity-base/angular-client

Setup

import { provideIdentityClient } from '@identity-base/angular-client'

export const appConfig = {
  providers: [
    ...provideIdentityClient({
      apiBase: 'https://identity.example.com',
      clientId: 'spa-client',
      redirectUri: 'https://app.example.com/auth/callback',
      scope: 'openid profile email identity.api',
      tokenStorage: 'sessionStorage',
      autoRefresh: true,
      loginPath: '/login',
    }),
  ],
}

Route Guard

import { IdentityRequireAuthGuard } from '@identity-base/angular-client'

export const routes: Routes = [
  {
    path: 'account',
    canActivate: [IdentityRequireAuthGuard],
    loadComponent: () => import('./account.component').then(m => m.AccountComponent),
  },
]

Keywords

angular

FAQs

Package last updated on 04 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts