
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
firebase-auth
Advanced tools
Simple wrapper around firebase token authentication
npm install firebase-auth --save
var firebaseAuth = require("firebase-auth");
var options = {
rootRef: "rootRef",
secretKey: process.env.FIREBASE_SECRET_KEY,
UID: 'uid',
admin: true || false //true or false
}
firebaseAuth(options).then(function(rootRef){
//authenticated rootRef
}, function(error) {
//handle error as you please
throw error
})
Fork and submit pull requests to improve this repo
Yes, there would be bugs or feature requests.
Please open an issue and I would try to reply as soon as possible
FAQs
A simple wrapper around firebase token authentication
The npm package firebase-auth receives a total of 1,877 weekly downloads. As such, firebase-auth popularity was classified as popular.
We found that firebase-auth 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.