Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@greg/vue3-google-login
Advanced tools
Readme
This is a lightweight plugin to implement log-in and sign-up flows using Google Identity Services with the help of Google 3P Authorization JavaScript Library
This allows you to implement the following features
https://yobaji.github.io/vue3-google-login/
First step is to install it using npm
npm install vue3-google-login
Or using yarn
yarn add vue3-google-login
Initialize the vue3-google-login plugin in main.js, this will register a component GoogleLogin
globally
import { createApp } from 'vue'
import App from './App.vue'
import vue3GoogleLogin from 'vue3-google-login'
const app = createApp(App)
app.use(vue3GoogleLogin, {
clientId: 'YOUR_GOOGLE_CLIENT_ID'
})
app.mount('#app')
:bulb: If you dont want to initialize and register
GoogleLogin
component, you can directly import this fromvue3-google-login
package and use the client-id prop, also some functions accepts a clientId option which can be used to avoid initialising the plugin, see here for more info
Once the plugin is installed you can use the component GoogleLogin
anywhere in your project, this will render a log in button which opens a popup for Google login
<script setup>
const callback = (response) => {
// This callback will be triggered when the user selects or login to
// his Google account from the popup
console.log("Handle the response", response)
}
</script>
<template>
<GoogleLogin :callback="callback"/>
</template>
For more advanced usages see the docs
FAQs
Add Login With Google feature to your Vue 3 application using Google Identity Services
We found that @greg/vue3-google-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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.