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

Identity creation from UI fails #404

Open
nsklikas opened this issue Sep 10, 2024 · 1 comment
Open

Identity creation from UI fails #404

nsklikas opened this issue Sep 10, 2024 · 1 comment
Labels
bug Something isn't working frontend This is a UI issue

Comments

@nsklikas
Copy link
Contributor

nsklikas commented Sep 10, 2024

The request done from the frontend when trying to create a new identity fails. The reason is that no password is sent in the request:
image

IMHO, a random password should be generated by the frontend and the hash of that password should be send to the backend (I think Kratos supports this). The random password should be shown in the frontend.
The request body should look something like this:

{
  "credentials": {"password": {"config": {"hashed_password": "123"}}},
  "schema_id": "default",
  "traits": {
    "email": "[email protected]"
  }
}

Extra: the schema dropdown is not very user friendly, it should at least default to the default schema. Also shouldn't the admin be able to set extra attributes?

@nsklikas nsklikas added bug Something isn't working enhancement New feature or request and removed enhancement New feature or request labels Sep 10, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-1046.

This message was autogenerated

@nsklikas nsklikas added the frontend This is a UI issue label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend This is a UI issue
Projects
None yet
Development

No branches or pull requests

1 participant