From c276a0a8e1be5c374e92ec262a9fd6b9c39695d6 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 28 Apr 2026 21:13:33 +0200 Subject: [PATCH] Refresh token require auth Signed-off-by: Nikolai Rodionov --- proto/accounts/v1/accounts_v1.proto | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 {