-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Auth only on protected routes #211
base: master
Are you sure you want to change the base?
Conversation
…te is in demo mode
…w that message inside the auth middleware
Would it be possible to add SSO the same way Thunderhub and RTL do it? They allo authentication by adding a suffix (e.g. |
# Conflicts: # routes/baseRouter.js
I would like to have authentication for the entire btc-rpc-explorer instance, is this still possible with this PR? |
@shesek that's already possible and I actually use it in my repository. It's basic HTTP auth which sucks if you want SSO, but better than nothing I suppose. |
Based on this comment I think it was kept. |
Looking at the code, it seems like it was not. |
Closes #210
BTCEXP_BASIC_AUTH_PASSWORD
setapp/auth.js
middleware implementation to consolidatedemo
andyou need to set a password to access this route
behaviorauth
middleware directly on the protected routes