Refresh token require auth
Some checks failed
ci/woodpecker/push/dart-generate Pipeline was successful
ci/woodpecker/push/go-generate Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/js-generate Pipeline was successful
ci/woodpecker/push/repo-checks Pipeline failed

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-04-28 21:13:33 +02:00
parent 57e41f031b
commit c276a0a8e1

View File

@@ -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 {