1.0.3 • Published 6 years ago

ngx-sso-login v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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