diff --git a/proto/accounts/v1/accounts_v1.proto b/proto/accounts/v1/accounts_v1.proto index 48cff34..1552235 100644 --- a/proto/accounts/v1/accounts_v1.proto +++ b/proto/accounts/v1/accounts_v1.proto @@ -16,10 +16,6 @@ service AccountsNoAuthService { rpc ResetPassword (ResetPasswordRequest) returns (google.protobuf.Empty) {} // Set the new password after reset rpc NewPassword (NewPasswordRequest) returns (google.protobuf.Empty) {} - // Send the refresh token request, token should be passed in the metadata. - // This rpc does requier auth, but it should be handled not on the middleware level, - // that's why it set in the NoAuth service - rpc RefreshToken (google.protobuf.Empty) returns (google.protobuf.Empty) {} } /** @@ -29,6 +25,7 @@ service AccountsNoAuthService { service AccountsAuthService { // Is email for the current account verified rpc IsEmailVerified (IsEmailVerifiedRequest) returns (IsEmailVerifiedResponse) {} + rpc RefreshToken (google.protobuf.Empty) returns (google.protobuf.Empty) {} } message AccountPassword {