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

Improve admin signin/security #47

Open
devpaul opened this issue Aug 22, 2019 · 0 comments
Open

Improve admin signin/security #47

devpaul opened this issue Aug 22, 2019 · 0 comments

Comments

@devpaul
Copy link
Owner

devpaul commented Aug 22, 2019

In order to make this a better example application and create better deployments security should be improved around admin

Server

  • Add a required environment variable that holds the super admin password
  • Add Passport to show how Nest and Passport interact
  • Add Permission guards
  • Add a @User() property decorator
  • Add a login endpoint that sets a cookie
  • Add a logout endpoint that deletes the cookie
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

No branches or pull requests

1 participant