can login with nestjsadmin
See original GitHub issuehey guys , i have install nestjs-admin
and config it correctly ,
and then i try to create an adminuser by npx nestjs-admin createAdminUser
and input username and passwd . However , the process havs never ended .
when i check database , i found it insert a record successfully.
when i check the link with /admin/login
, it show the admin panel . Oh yep , i try to login using the username and passwd which i have entered but fail and print ‘Invalid credentials’ .
i dont know how to solve it and can u give me some advice.
thx very much , my bro!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10
Top Results From Across the Web
Custom authentication - nestjs-admin.com
NestJS Admin provides an easy way to validate the username/password against whatever makes sense in your application (your own User entity, a list...
Read more >Authentication | NestJS - A progressive Node.js framework
Let's flesh out our requirements. For this use case, clients will start by authenticating with a username and password. Once authenticated, the server...
Read more >Nest.js Step-by-Step: Part 3 (Users and Authentication)
Use Nest.js in a User's Module create a user and locate them in the database, and shows how to add the Auth Module...
Read more >NestJS: How to Implement Session-Based User Authentication
Now that you have all these put in place, you still cannot log in a user because there is nothing to trigger the...
Read more >How to Manage User Access in NestJS - YouTube
Your browser can 't play this video. ... How to Manage User Access in NestJS | Authorization with CASL ... 18K views 10...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure whether the problem comes from
createAdminUser
. I’ve manually create a password hash with https://bcrypt-generator.com/, and replaced it in my db’sadminUser.password
. Now it works, but I don’t know why 🤷Same here 😕