Skip to content

Implemenet basic auth #3

Description

@moti-malka

Basic HTTP Authentication

  • Setup a simple login page with user name and password.
  • Since we using in docker no need for registration becouse the user name and password will be stored in environment variable in docker run -e user=<username> -e pass=<pass> command.
  • Username must be at least 4 characters long.
  • Password: The password must be at least 6 characters long to include letters and numbers.
  • When the server is up, check the values ​​of the username and password to make sure they are validate , in case is not, the application should not be dropped with an appropriate error message.

please implement:

  • Auth Guard.
  • Authentication Interceptor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions