
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
angular-amazon-login
Advanced tools
Amazon Login component for Angular written in TypeScript.
Add this script tag below in the head tag of index.html
:
<script async src="https://api-cdn.amazon.com/sdk/login1.js"></script>
Import and add AmazonLoginComponent
from this package to your Angular module:
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {AppComponent} from './app.component';
import {AmazonLoginComponent} from 'angular-amazon-login';
@NgModule({
imports: [
BrowserModule
],
declarations: [
AppComponent,
AmazonLoginComponent
],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example of a component that is using this package:
import {Component} from '@angular/core';
import {AmazonAuthResponse} from 'angular-amazon-login';
@Component({
selector: 'my-app',
templateUrl: 'app.component.html'
})
export class AppComponent {
constructor() {
}
private myClientId: string = 'your-client-id-here';
onAmazonAuthResponse(event: AmazonAuthResponse) {
// your code here
}
}
In a component template, put <amazon-login>
with attributes of render options and init params.
clientId
attribute is required.
<amazon-login
[clientId]="myClientId"
(amazonAuthResponse)="onAmazonAuthResponse($event)">
</amazon-login>
For more information about Login With Amazon SDK, see http://login.amazon.com/documentation
Please file feature requests and bugs at the issue tracker.
FAQs
Login with Amazon component for Angular written in TypeScript
The npm package angular-amazon-login receives a total of 1 weekly downloads. As such, angular-amazon-login popularity was classified as not popular.
We found that angular-amazon-login 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.