Amplify Toolbox
    Preparing search index...

    Type Alias OIDCAuthorizationModeProps

    Props for OpenId Connect Authorization on the Graphql Api.

    type OIDCAuthorizationModeProps = {
        clientId?: string;
        oidcIssuerUrl: string;
        oidcProviderName: string;
        tokenExpireFromIssueInSeconds: number;
        tokenExpiryFromAuthInSeconds: number;
    }
    Index

    Properties

    clientId?: string

    The client identifier of the Relying party at the OpenID identity provider. A regular expression can be specified so AppSync can validate against multiple client identifiers at a time. Example

    oidcIssuerUrl: string

    Url for the OIDC token issuer.

    oidcProviderName: string

    The issuer for the OIDC configuration.

    tokenExpireFromIssueInSeconds: number

    The duration an OIDC token is valid after being issued to a user in seconds. This validation uses iat claim of OIDC token.

    tokenExpiryFromAuthInSeconds: number

    The duration an OIDC token is valid after being authenticated by OIDC provider in seconds. auth_time claim in OIDC token is required for this validation to work.