ngx-sso-login
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

SsoLogin

This project is developed for login via socket by popup option for further details check package.json

Installation

Install avatar component using NPM::

$ npm install ngx-sso-login --save

Usage

  1. Import SsoModule :

Once you have installed ngx-sso-login, you can import it in your AppModule:

// Import your AvatarModule
import { SsoModule } from 'ngx-sso-login';
 
@NgModule({
  declarations: [
  ],
  imports: [
    SsoModule
  ],
  providers: [],
  bootstrap: []
})
export class AppModule { }
  1. Start using it:

Once the SsoModule is imported, you can start using the component in your Angular application:

Options

import { ISsoOptions } from 'ngx-sso-login';
 
const SSO_CONFIG: ISsoOptions = {
  redirectUri: 'http://localhost:5200/auth',
  tokenKey: 'sokt-auth-token'
}
<ngx-sso-btn [config]="SSO_CONFIG"></ngx-sso-btn>

Release Notes & History

  • 1.0.3 : Readme Updated
  • 1.0 : Package published

License

MIT © Sarfaraz Ansari

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ngx-sso-login

      Weekly Downloads

      0

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      25.6 kB

      Total Files

      11

      Last publish

      Collaborators

      • sarfarazansari