docs: Password reset (#6108)

* docs: add password reset to login ui guide

* docs: add password reset to login ui guide

* Update proto/zitadel/user/v2alpha/user_service.proto

Co-authored-by: Livio Spring <livio.a@gmail.com>

* Update docs/docs/guides/integrate/login-ui/password-reset.mdx

Co-authored-by: Livio Spring <livio.a@gmail.com>

* Update docs/docs/guides/integrate/login-ui/password-reset.mdx

Co-authored-by: Livio Spring <livio.a@gmail.com>

* Update docs/docs/guides/integrate/login-ui/password-reset.mdx

Co-authored-by: Livio Spring <livio.a@gmail.com>

* docs: replace image

* docs: replace vars in urls

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Fabi
2023-06-28 13:52:53 +02:00
committed by GitHub
parent bd5defa96a
commit 376d8e78b8
5 changed files with 123 additions and 16 deletions

View File

@@ -430,8 +430,8 @@ service UserService {
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Request a code to reset a password";
description: "Request a code to reset a password";
summary: "Change password";
description: "Change the password of a user with either a verification code or the current password.";
responses: {
key: "200"
value: {
@@ -574,7 +574,7 @@ message RegisterPasskeyRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
optional PasskeyRegistrationCode code = 2 [
@@ -598,7 +598,7 @@ message RegisterPasskeyResponse{
zitadel.object.v2alpha.Details details = 1;
string passkey_id = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"fabde5c8-c13f-481d-a90b-5e59a001a076\""
example: "\"163840776835432705\""
}
];
google.protobuf.Struct public_key_credential_creation_options = 3 [
@@ -616,7 +616,7 @@ message VerifyPasskeyRegistrationRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
string passkey_id = 2 [
@@ -625,7 +625,7 @@ message VerifyPasskeyRegistrationRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"fabde5c8-c13f-481d-a90b-5e59a001a076\"";
example: "\"163840776835432705\"";
}
];
google.protobuf.Struct public_key_credential = 3 [
@@ -660,7 +660,7 @@ message RegisterU2FRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
string domain = 2 [
@@ -674,7 +674,7 @@ message RegisterU2FResponse{
zitadel.object.v2alpha.Details details = 1;
string u2f_id = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"fabde5c8-c13f-481d-a90b-5e59a001a076\""
example: "\"163840776835432705\""
}
];
google.protobuf.Struct public_key_credential_creation_options = 3 [
@@ -692,7 +692,7 @@ message VerifyU2FRegistrationRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
string u2f_id = 2 [
@@ -701,7 +701,7 @@ message VerifyU2FRegistrationRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"fabde5c8-c13f-481d-a90b-5e59a001a076\"";
example: "\"163840776835432705\"";
}
];
google.protobuf.Struct public_key_credential = 3 [
@@ -736,7 +736,7 @@ message RegisterTOTPRequest {
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
}
@@ -762,7 +762,7 @@ message VerifyTOTPRegistrationRequest {
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
string code = 2 [
@@ -786,7 +786,7 @@ message CreatePasskeyRegistrationLinkRequest{
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
// if no medium is specified, an email is sent with the default url
@@ -813,7 +813,7 @@ message StartIdentityProviderFlowRequest{
description: "ID for existing identity provider"
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
string success_url = 2 [
@@ -855,7 +855,7 @@ message RetrieveIdentityProviderInformationRequest{
description: "ID of the intent, previously returned on the success response of the IDP callback"
min_length: 1;
max_length: 200;
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
example: "\"163840776835432705\"";
}
];
string token = 2 [