Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
social-login-oauth
Advanced tools
Readme
Social login and authentication which supports authentication with Google and Facebook platforms.
npm install social-login-oauth --save
import { GoogleService, FacebookService } from "social-login-oauth";
@Component({
selector: 'app-demo',
templateUrl: './demo.component.html',
styleUrls: ['./demo.component.css']
})
export class DemoComponent {
constructor() { }
googleSignIn() {
GoogleService.signIn(gClientid)
}
getGoogleLoginStatus(){
GoogleService.getLoginStatus()
}
facebookSignIn(): void {
FacebookService.signIn(facebookID)
}
getFacebookLoginStatus(){
FacebookService.getLoginStatus()
}
googleSignOut(): void {
//if revoke is true, it will be disconnected instead of signout.
GoogleService.signOut(revoke);
}
facebookSignOut(): void {
FacebookService.signOut();
}
}
id: string;
email: string;
name: string;
photoUrl: string;
firstName: string;
lastName: string;
authToken: string;
idToken?: string;
authorizationCode?: string;
provider?: string;
facebook?: any;
linkedIn?: any;
const googleLoginOptions: LoginOpt = {
scope: 'profile email'
}; // https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiauth2clientconfig
GoogleService.signIn(gClientid,googleLoginOptions)
const fbLoginOptions: LoginOpt = {
scope: 'pages_messaging,pages_messaging_subscriptions,email,pages_show_list,manage_pages',
return_scopes: true,
enable_profile_selector: true
}; // https://developers.facebook.com/docs/reference/javascript/FB.login/v2.11
FacebookService.signIn(facebookID,fbLoginOptions)
FAQs
Social login and authentication which supports authentication with **Google** and **Facebook** platforms.
The npm package social-login-oauth receives a total of 402 weekly downloads. As such, social-login-oauth popularity was classified as not popular.
We found that social-login-oauth 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.