Hello,
I’ve been using this about 4 months, really enjoy using ORY Kratos as Login provider. This is a great tool!
Ok, I want to create a new user or identity without self-service registration on my user management. Well, for example, I have an identity or user with role as Administrator. This admin want to create a new user from user management page. I’ve read the API documentation and mentioned that we can create a new identity but it’s not possible to set the password https://www.ory.sh/kratos/docs/reference/api#create-an-identity.
This endpoint creates an identity. It is NOT possible to set an identity’s credentials (password, …) using this method! A way to achieve that will be introduced in the future.
I’ve tried to set registration flow config like this:
registration:
ui_url: http://127.0.0.1:4455/customer/addcustomer
after:
default_browser_return_url: http://127.0.0.1:4455/customer
But yes, it should be redirected to the main page or home page if the user (admin) has logged in when the application access the initialize registration url (/self-service/browser/flows/registration
).
I hope I can create a new identity from the API and set the credential’s password.
Have any ideas? Am I missed some steps from documentation.