From 50a27971572ea3540b61c0aa0478488ca8324139 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 9 May 2026 21:21:58 +0200 Subject: [PATCH] Move refresh token back to auth account Signed-off-by: Nikolai Rodionov --- proto/accounts/v1/accounts_v1.proto | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proto/accounts/v1/accounts_v1.proto b/proto/accounts/v1/accounts_v1.proto index 3b74389..2beeaa2 100644 --- a/proto/accounts/v1/accounts_v1.proto +++ b/proto/accounts/v1/accounts_v1.proto @@ -12,9 +12,6 @@ service AccountsNoAuthService { rpc SignIn (SignInRequest) returns (google.protobuf.Empty) {} // Create a new account rpc SignUp (SignUpRequest) returns (google.protobuf.Empty) {} - // RefreshToken doesn't use regular auth methods, it recieves the token in data, - // checks whether a session with this token exists and create a new one if yes - rpc RefreshToken (RefreshTokenRequest) returns (google.protobuf.Empty) {} } /** @@ -24,6 +21,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 {