class Aws::AmplifyBackend::Types::CreateBackendAuthOAuthConfig

Creates the OAuth configuration for your Amplify project.

@note When making an API call, you may pass CreateBackendAuthOAuthConfig

data as a hash:

    {
      domain_prefix: "__string",
      o_auth_grant_type: "CODE", # required, accepts CODE, IMPLICIT
      o_auth_scopes: ["PHONE"], # required, accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
      redirect_sign_in_ur_is: ["__string"], # required
      redirect_sign_out_ur_is: ["__string"], # required
      social_provider_settings: {
        facebook: {
          client_id: "__string",
          client_secret: "__string",
        },
        google: {
          client_id: "__string",
          client_secret: "__string",
        },
        login_with_amazon: {
          client_id: "__string",
          client_secret: "__string",
        },
        sign_in_with_apple: {
          client_id: "__string",
          key_id: "__string",
          private_key: "__string",
          team_id: "__string",
        },
      },
    }

@!attribute [rw] domain_prefix

The domain prefix for your Amplify app.
@return [String]

@!attribute [rw] o_auth_grant_type

The OAuth grant type that you use to allow app users to authenticate
from your Amplify app.
@return [String]

@!attribute [rw] o_auth_scopes

List of OAuth-related flows used to allow your app users to
authenticate from your Amplify app.
@return [Array<String>]

@!attribute [rw] redirect_sign_in_ur_is

The redirected URI for signing in to your Amplify app.
@return [Array<String>]

@!attribute [rw] redirect_sign_out_ur_is

Redirect URLs that OAuth uses when a user signs out of an Amplify
app.
@return [Array<String>]

@!attribute [rw] social_provider_settings

The settings for using social providers to access your Amplify app.
@return [Types::SocialProviderSettings]

@see docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthOAuthConfig AWS API Documentation

Constants

SENSITIVE