ngx-sso-login
v1.0.3
Published
This project is developed for login via socket by popup option for further details check `package.json`
Downloads
6
Maintainers
Readme
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
- 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 { }
- 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