-
-
Notifications
You must be signed in to change notification settings - Fork 949
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
"Code" method replacing existing methods #3942
Labels
bug
Something is not working.
Comments
Looks like a configuration error - probably an incorrect or malformed identity schema |
Sorry for the delay, I wasn't notified via email. We followed the instructions from the website: https://www.ory.sh/docs/kratos/passwordless/one-time-code This is our identity schema:
In case it helps, this is our config (staging version):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preflight checklist
Ory Network Project
No response
Describe the bug
if you create an account with passwordless, the config is completely messed up (first screenshot)
but if you first create an account with password then the passwordless config, it works fine (just brackets {})
Reproducing the bug
We updated Kratos to v1.1.0 then ran kratos migrate sql -e --yes url...
For some reason sign in with code (passwordless, magic codes) is working fine for new users but for existing users instead of creating config correctly (just
{}
) it creates something like{"address_type":"","used_at":{"Time":"0001-01-01T00:00:00Z","Valid":false}}
but most importantly it replaces the current method (password/SSO) with just passwordlesshere the SSO getting replaced by code (check the created_at, 8 min later)
Relevant log output
No response
Relevant configuration
No response
Version
1.1.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
Kubernetes
Additional Context
I first contacted on Slack about this 3 months ago, no response.
The text was updated successfully, but these errors were encountered: