Skip to content

feat: add basic authentication#14

Open
lenapenha wants to merge 3 commits into
Open-SGF:mainfrom
lenapenha:feat/basic-authentication
Open

feat: add basic authentication#14
lenapenha wants to merge 3 commits into
Open-SGF:mainfrom
lenapenha:feat/basic-authentication

Conversation

@lenapenha
Copy link
Copy Markdown
Collaborator

Add basic authentication to the app

Copy link
Copy Markdown
Member

@glitchedmob glitchedmob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we actually adjust this such that the ADMIN_USER_PASSWORD we put in configuration is prehashed? That means the only hashing we would need to do would be on the incoming data from the http call.

That way even if someone gets a hold of the configuration they still don't get the actual password

I would suggest we adjust the naming of the configuration value to be ADMIN_USER_HASHED_PASSWORD

Comment thread src/main/java/org/healthiermo/homepage/config/SecurityConfig.java Outdated
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