Gathering detailed insights and metrics for vue-cli-plugin-auth0
Gathering detailed insights and metrics for vue-cli-plugin-auth0
Gathering detailed insights and metrics for vue-cli-plugin-auth0
Gathering detailed insights and metrics for vue-cli-plugin-auth0
npm install vue-cli-plugin-auth0
Typescript
Module System
Node Version
NPM Version
71.1
Supply Chain
99.3
Quality
75.7
Maintenance
100
Vulnerability
100
License
JavaScript (72.53%)
Vue (24.34%)
Dockerfile (3.13%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
12 Commits
2 Watchers
23 Branches
3 Contributors
Updated on Jan 07, 2023
Latest Version
1.0.4
Package Id
vue-cli-plugin-auth0@1.0.4
Unpacked Size
27.14 kB
Size
14.58 kB
File Count
26
NPM Version
7.0.3
Node Version
15.0.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Vue CLI 4 Plugin for adding the files required for setting up Auth0 authentication.
Sign-up and login to you Auth0 Dashboard: https://auth0.com/
Create an Auth0 Client/Application: Dashboard > Applications > Create Application
Single Page Web Applications
Create
Settings
http://localhost:8080
to the following fields:
Save Changes
(Optional) Setup desired connections: Dashboard > Connections > Social
vue add auth0
from your project's root folder.auth_config.json
: Stores Auth0's domain and clientId.src/auth/index.js
: Main Auth0 lib file containing authentication logic.src/auth/authGuard.js
: Can be used to protect private vue-router routes.src/views/Profile.vue
: A very simple profile component to be used with vue-router.src/App.vue
src/main.js
src/router/index.js
Have you configured an Auth0 client? If not, make sure to update auth_config.json afterwards
Would you like to use Vue Router? This is the recomended setup for most Apps.
1# Run a vue inside the dev container 2docker run --rm -it \ 3 -v "$(pwd)":/auth0 \ 4 -p 8080:8080 \ 5kaizendorks/vue:4 sh 6 7# Create sample app 8vue create app 9 10# Change dir to project dir 11cd app 12 13# Install plugin 14npm install --save-dev file:/auth0 15 16# Run plugin 17vue invoke vue-cli-plugin-auth0 18 19# Install new deps, if you get any errors try rm -rf package-lock.json 20npm install 21 22# Run app 23npm run serve
1# Build image 2docker build -t auth0 . 3 4# Dgoss Tests (quick smoke test to check if files were generated) 5docker run --rm -it \ 6 -v "$(pwd)/tests":/src \ 7 -v /var/run/docker.sock:/var/run/docker.sock \ 8iorubs/dgoss run auth0 9 10# Edit tests 11docker run --rm -it \ 12 -v "$(pwd)/tests":/src \ 13 -v /var/run/docker.sock:/var/run/docker.sock \ 14iorubs/dgoss edit auth0
Goss is tool for validating server’s configuration (avoid conf. drift). Dgoss is a wrapper written on top of goss for validating docker images. https://github.com/aelsabbahy/goss/tree/master/extras/dgoss
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/11 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
87 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More