Skip to content
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

Enhance basic-auth.middleware example with password hashing and env variables #782

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

vincenzodomina
Copy link
Contributor

I have elaborated on the basic auth example to be more production friendly, of course open for feedback.

Changes

  • Replace hardcoded credentials with ConfigService-based configuration
  • Implement bcrypt for secure password hashing and comparison
  • Improve error handling and code structure

This change significantly improves the security of the Bull Board authentication

@felixmosh
Copy link
Owner

Hi @vincenzodomina thank you for this improvments

@felixmosh felixmosh merged commit 42ca519 into felixmosh:master Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants