File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1- // Copyright 2025 Google LLC
1+ // Copyright 2026 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -484,6 +484,23 @@ message OAuthSettings {
484484 // since access behavior is managed by IAM policies.
485485 google.protobuf.StringValue login_hint = 2 ;
486486
487+ // Optional. OAuth 2.0 client ID used in the OAuth flow.
488+ // This allows for client sharing. The risks of client sharing
489+ // are outlined here:
490+ // https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
491+ google.protobuf.StringValue client_id = 3
492+ [(google.api.field_behavior ) = OPTIONAL ];
493+
494+ // Optional. Input only. OAuth secret paired with client ID.
495+ google.protobuf.StringValue client_secret = 4 [
496+ (google.api.field_behavior ) = INPUT_ONLY ,
497+ (google.api.field_behavior ) = OPTIONAL
498+ ];
499+
500+ // Output only. OAuth secret SHA256 paired with client ID.
501+ google.protobuf.StringValue client_secret_sha256 = 6
502+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
503+
487504 // Optional. List of client ids allowed to use IAP programmatically.
488505 repeated string programmatic_clients = 5
489506 [(google.api.field_behavior ) = OPTIONAL ];
You can’t perform that action at this time.
0 commit comments