Add new device_auth_client_type setting to allow attaching the client_secret to device auth requests

This commit is contained in:
Joe Kralicky 2024-06-06 15:57:37 -04:00
parent 18aed33aa5
commit b4aa275403
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
11 changed files with 312 additions and 249 deletions

View file

@ -1,25 +1,27 @@
syntax = "proto3";
package pomerium.identity;
option go_package = "github.com/pomerium/pomerium/pkg/grpc/identity";
import "google/protobuf/struct.proto";
option go_package = "github.com/pomerium/pomerium/pkg/grpc/identity";
message Provider {
string id = 1;
string authenticate_service_url = 9;
string client_id = 2;
string client_secret = 3;
string type = 4;
repeated string scopes = 5;
string id = 1;
string authenticate_service_url = 9;
string client_id = 2;
string client_secret = 3;
string type = 4;
repeated string scopes = 5;
// string service_account = 6;
string url = 7;
map<string, string> request_params = 8;
string url = 7;
map<string, string> request_params = 8;
optional string device_auth_client_type = 10;
}
message Profile {
string provider_id = 1;
bytes id_token = 2;
bytes oauth_token = 3;
google.protobuf.Struct claims = 4;
string provider_id = 1;
bytes id_token = 2;
bytes oauth_token = 3;
google.protobuf.Struct claims = 4;
}