Comments (7)
Same problem. Confirmed in DB that username and password are correct.
from keystone-demo.
+1
Also I get 500 error and response:
{
detail: "Not a valid BCrypt hash.",
error: "bcrypt error"
}
I think the problem is in password validation rules: the basic password is plain text: 'demo'
We need to encrypt password and replace 'demo'
in /updates/0.0.1-admins.js to encrypted password.
from keystone-demo.
Works fine for me
from keystone-demo.
Yeah Im getting the same issue
from keystone-demo.
The protection on the User model is preventing the password from being encrypted when creating the admin user.
A workaround is to change isProtected
to false
for the user data in https://github.com/keystonejs/keystone-demo/blob/master/updates/0.0.1-admins.js#L13.
Then drop the database and restart. This was fine for me as I don't care about the user protection at all.
from keystone-demo.
@bjwyse Is correct above.
Authentication works fine at http://demo.keystonejs.com/, but when you clone it locally the protection is an issue.
If you're trying to get it to work locally, either edit the updates/0.0.10admin.js
to remove line 13, and drop the database as suggested above, or simply add a new updates/0.0.2-user.js
file, which is identical, but with different user credentials and again no line 13. That way you don't have to drop the database.
I've created an issue on the keystone side of things to see if we can address encryption not working properly when isProtected
is set to true.
If people have any insight into this/want to help fix it, let's pick this up on that issue.
from keystone-demo.
Now the username & Password is [email protected] and admin. Installed via yo. Found the credentials under keystone-starter/updates
from keystone-demo.
Related Issues (20)
- Clicking a blog post show a 500 error HOT 1
- Credentials for Admin UI are not working HOT 4
- admin ui can't signin HOT 1
- Using React components on frontend
- Demo user and password not updated
- I am not able to add og:image tag for facebook share functionality. HOT 1
- How to enable robots.txt for searching on Search tool HOT 1
- Issue in upload images on the server when two or more image upload option HOT 1
- How can I use mysql in keystone instead of mongoDB? HOT 2
- Problem with adding data.post.comments with .hbs HOT 4
- postUrl from the demo's index.hbs HOT 2
- Remove Nitrous QuickStart from README.md HOT 1
- Update README for Keystone 4
- Bump to keystone-4.0.0-beta.8
- Add SSL certificate for demo.keystonejs.com
- Is there backend dashboard demo with Users module, Role base access controls, permission etc? HOT 1
- Vue JS docs
- Automatic increment of number in keystonejs application.
- keystone-demo v5 ? HOT 1
- Cannot login after defining apiPath:'/xxxxx/api',
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keystone-demo.