
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@cappern/node-red-dashboard-2-oauth2-auth
Advanced tools
OAuth2-Proxy based authentication plugin for node-red-dashboard-2
A Node-RED Dashboard 2 plugin that integrates with oauth2-proxy.
It extracts user information from the HTTP headers added by oauth2-proxy and makes them available inside Dashboard flows via msg._client.user.
msg._client.userx-auth-request-user, x-forwarded-userx-auth-request-email, x-forwarded-emailx-auth-request-preferred-usernamesocketId and socketIp to help trace individual client sessionsonIsValidConnection)From your Node-RED user directory (e.g. ~/.node-red or /data inside Docker):
npm install @cappern/node-red-dashboard-2-oauth2-auth
Restart Node-RED after installation.
--set-xauthrequest).{
"_client": {
"user": {
"userId": "jdoe",
"email": "jdoe@example.com",
"username": "jdoe"
},
"socketId": "s0meid",
"socketIp": "192.168.1.100"
}
}
This project is licensed under the AGPL-3.0-or-later.
Pull requests and issues are welcome!
Check out the issues page.
FAQs
OAuth2-Proxy based authentication plugin for node-red-dashboard-2
We found that @cappern/node-red-dashboard-2-oauth2-auth demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.