https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
p

polite-electrician-27480

04/25/2022, 7:22 PM
I just did an upgrade from oryd/kratos:v0.8.2-alpha.1 to oryd/kratos:v0.9.0-alpha.3 and old logins are not working any more. It complains about invalid credentials, whereas new users who sign up after the upgrade can login fine. Did we change the way we hash password or something? In our kratos configuration, we have the following -
Copy code
hashers:
  algorithm: bcrypt
  bcrypt:
    cost: 8
p

purple-apple-47041

05/03/2022, 7:00 PM
I am also having this issue
Not sure if it is related to the hasher, I think something else might be happening
I solved this @User
When migrating I needed to change how identities were configured. I decided in doing so to set the id of my schema to member, however, it needed to be set to default since that is what the schema was refered to as prior to migration. This is why new users can sign up but old users cannot log in
Let me know if this makes sense
p

polite-electrician-27480

05/03/2022, 9:55 PM
yeah, that is what I thought too. In my case, because it was a dev setup, I simply recreated new users. In any case, Ory should provide clear instructions for upgrade.
p

purple-apple-47041

05/03/2022, 9:57 PM
Same here, was just messing with dev env. They actually do I just didn't know where to find it. They document braking changes on github under releases
Here is a link. Might be helpful, shows the breaking changes for very release
6 Views