Switch to SSO kind of login

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-04-30 14:51:36 +02:00
parent c276a0a8e1
commit 239ffcd6c6

View File

@@ -8,14 +8,8 @@ option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg
* Service for handling accounts that do not require authentication
*/
service AccountsNoAuthService {
// Create a new user
rpc SignUp (SignUpRequest) returns (google.protobuf.Empty) {}
// Sing in into an existing account
rpc SignIn (SignInRequest) returns (google.protobuf.Empty) {}
// Reset the password, if it was lost
rpc ResetPassword (ResetPasswordRequest) returns (google.protobuf.Empty) {}
// Set the new password after reset
rpc NewPassword (NewPasswordRequest) returns (google.protobuf.Empty) {}
}
/**
@@ -43,8 +37,7 @@ message SignUpRequest {
}
message SignInRequest {
AccountData data = 1;
AccountPassword password = 2;
string code = 1;
};
message ResetPasswordRequest {