
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
ngx-linkedin
Advanced tools
This project was generated with Angular CLI version 7.0.5.
npm install --save ngx-linkedin
In your AppModule, import the SocialLoginModule
import { NgModule } from '@angular/core';
import { NgxLinkedinModule } from 'ngx-linkedin';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
NgxLinkedinModule.forRoot({
clientId: ':clientId:'
})
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
import { Component } from '@angular/core';
import { NgxLinkedinService } from 'ngx-linkedin';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor(private ngxLinkedinService: NgxLinkedinService) {}
login() {
this.ngxLinkedinService.signIn().subscribe(user => {
console.info('signIn', user);
});
}
}
import { Component } from '@angular/core';
import { NgxLinkedinService } from 'ngx-linkedin';
@Component({
selector: 'app-root',
template: `
isAuthorized: {{isAuthorized$ | async}}
`,
styleUrls: ['./app.component.css']
})
export class AppComponent {
public isAuthorized$ = this.ngxLinkedinService.isAuthorized();
constructor(private ngxLinkedinService: NgxLinkedinService) {}
}
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
FAQs
Linkedin authentication for angular 6 / 7
We found that ngx-linkedin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.