mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-21 04:57:18 +02:00
fix redirect loop, remove user/session services, remove duplicate deleted_at fields (#1162)
* fix redirect loop, remove user/session services, remove duplicate deleted_at fields * change loop * reuse err variable * wrap errors, use cookie timeout * wrap error, duplicate if
This commit is contained in:
parent
714363fb07
commit
97f85481f8
16 changed files with 288 additions and 918 deletions
|
@ -4,20 +4,11 @@ package user;
|
|||
option go_package = "github.com/pomerium/pomerium/pkg/grpc/user";
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
message User {
|
||||
string version = 1;
|
||||
string id = 2;
|
||||
string name = 3;
|
||||
string email = 4;
|
||||
google.protobuf.Timestamp created_at = 5;
|
||||
google.protobuf.Timestamp modified_at = 6;
|
||||
google.protobuf.Timestamp deleted_at = 7;
|
||||
map<string, google.protobuf.Any> claims = 8;
|
||||
}
|
||||
|
||||
message AddRequest { User user = 1; }
|
||||
|
||||
service UserService { rpc Add(AddRequest) returns (google.protobuf.Empty); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue