This project is developed for login via socket by popup option
for further details check package.json
Install avatar component using NPM::
$ npm install ngx-sso-login --save- 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:
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>- 1.0.3 : Readme Updated
- 1.0 : Package published
MIT © Sarfaraz Ansari