OAuthSettings
import type { OAuthSettings } from "https://googleapis.deno.dev/v1/iap:v1.ts";Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.
interface OAuthSettings {
clientId?: string;
clientSecret?: string;
readonly clientSecretSha256?: string;
loginHint?: string;
programmaticClients?: string[];
}§Properties
§
clientId?: string
[src]Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
§
loginHint?: string
[src]Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies.