1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. WebAppAuthSettings
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.web.WebAppAuthSettings

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Configuration settings for the Azure App Service Authentication / Authorization feature. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.

    Other available API versions: 2020-10-01, 2023-01-01.

    Example Usage

    Update Auth Settings

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var webAppAuthSettings = new AzureNative.Web.WebAppAuthSettings("webAppAuthSettings", new()
        {
            AllowedExternalRedirectUrls = new[]
            {
                "sitef6141.customdomain.net",
                "sitef6141.customdomain.info",
            },
            ClientId = "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com",
            DefaultProvider = AzureNative.Web.BuiltInAuthenticationProvider.Google,
            Enabled = true,
            Name = "sitef6141",
            ResourceGroupName = "testrg123",
            RuntimeVersion = "~1",
            TokenRefreshExtensionHours = 120,
            TokenStoreEnabled = true,
            UnauthenticatedClientAction = AzureNative.Web.UnauthenticatedClientAction.RedirectToLoginPage,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/web/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := web.NewWebAppAuthSettings(ctx, "webAppAuthSettings", &web.WebAppAuthSettingsArgs{
    			AllowedExternalRedirectUrls: pulumi.StringArray{
    				pulumi.String("sitef6141.customdomain.net"),
    				pulumi.String("sitef6141.customdomain.info"),
    			},
    			ClientId:                    pulumi.String("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
    			DefaultProvider:             web.BuiltInAuthenticationProviderGoogle,
    			Enabled:                     pulumi.Bool(true),
    			Name:                        pulumi.String("sitef6141"),
    			ResourceGroupName:           pulumi.String("testrg123"),
    			RuntimeVersion:              pulumi.String("~1"),
    			TokenRefreshExtensionHours:  pulumi.Float64(120),
    			TokenStoreEnabled:           pulumi.Bool(true),
    			UnauthenticatedClientAction: web.UnauthenticatedClientActionRedirectToLoginPage,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.web.WebAppAuthSettings;
    import com.pulumi.azurenative.web.WebAppAuthSettingsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var webAppAuthSettings = new WebAppAuthSettings("webAppAuthSettings", WebAppAuthSettingsArgs.builder()        
                .allowedExternalRedirectUrls(            
                    "sitef6141.customdomain.net",
                    "sitef6141.customdomain.info")
                .clientId("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com")
                .defaultProvider("Google")
                .enabled(true)
                .name("sitef6141")
                .resourceGroupName("testrg123")
                .runtimeVersion("~1")
                .tokenRefreshExtensionHours(120)
                .tokenStoreEnabled(true)
                .unauthenticatedClientAction("RedirectToLoginPage")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    web_app_auth_settings = azure_native.web.WebAppAuthSettings("webAppAuthSettings",
        allowed_external_redirect_urls=[
            "sitef6141.customdomain.net",
            "sitef6141.customdomain.info",
        ],
        client_id="42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com",
        default_provider=azure_native.web.BuiltInAuthenticationProvider.GOOGLE,
        enabled=True,
        name="sitef6141",
        resource_group_name="testrg123",
        runtime_version="~1",
        token_refresh_extension_hours=120,
        token_store_enabled=True,
        unauthenticated_client_action=azure_native.web.UnauthenticatedClientAction.REDIRECT_TO_LOGIN_PAGE)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const webAppAuthSettings = new azure_native.web.WebAppAuthSettings("webAppAuthSettings", {
        allowedExternalRedirectUrls: [
            "sitef6141.customdomain.net",
            "sitef6141.customdomain.info",
        ],
        clientId: "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com",
        defaultProvider: azure_native.web.BuiltInAuthenticationProvider.Google,
        enabled: true,
        name: "sitef6141",
        resourceGroupName: "testrg123",
        runtimeVersion: "~1",
        tokenRefreshExtensionHours: 120,
        tokenStoreEnabled: true,
        unauthenticatedClientAction: azure_native.web.UnauthenticatedClientAction.RedirectToLoginPage,
    });
    
    resources:
      webAppAuthSettings:
        type: azure-native:web:WebAppAuthSettings
        properties:
          allowedExternalRedirectUrls:
            - sitef6141.customdomain.net
            - sitef6141.customdomain.info
          clientId: 42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com
          defaultProvider: Google
          enabled: true
          name: sitef6141
          resourceGroupName: testrg123
          runtimeVersion: ~1
          tokenRefreshExtensionHours: 120
          tokenStoreEnabled: true
          unauthenticatedClientAction: RedirectToLoginPage
    

    Create WebAppAuthSettings Resource

    new WebAppAuthSettings(name: string, args: WebAppAuthSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def WebAppAuthSettings(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           aad_claims_authorization: Optional[str] = None,
                           additional_login_params: Optional[Sequence[str]] = None,
                           allowed_audiences: Optional[Sequence[str]] = None,
                           allowed_external_redirect_urls: Optional[Sequence[str]] = None,
                           auth_file_path: Optional[str] = None,
                           client_id: Optional[str] = None,
                           client_secret: Optional[str] = None,
                           client_secret_certificate_thumbprint: Optional[str] = None,
                           client_secret_setting_name: Optional[str] = None,
                           config_version: Optional[str] = None,
                           default_provider: Optional[BuiltInAuthenticationProvider] = None,
                           enabled: Optional[bool] = None,
                           facebook_app_id: Optional[str] = None,
                           facebook_app_secret: Optional[str] = None,
                           facebook_app_secret_setting_name: Optional[str] = None,
                           facebook_o_auth_scopes: Optional[Sequence[str]] = None,
                           git_hub_client_id: Optional[str] = None,
                           git_hub_client_secret: Optional[str] = None,
                           git_hub_client_secret_setting_name: Optional[str] = None,
                           git_hub_o_auth_scopes: Optional[Sequence[str]] = None,
                           google_client_id: Optional[str] = None,
                           google_client_secret: Optional[str] = None,
                           google_client_secret_setting_name: Optional[str] = None,
                           google_o_auth_scopes: Optional[Sequence[str]] = None,
                           is_auth_from_file: Optional[str] = None,
                           issuer: Optional[str] = None,
                           kind: Optional[str] = None,
                           microsoft_account_client_id: Optional[str] = None,
                           microsoft_account_client_secret: Optional[str] = None,
                           microsoft_account_client_secret_setting_name: Optional[str] = None,
                           microsoft_account_o_auth_scopes: Optional[Sequence[str]] = None,
                           name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           runtime_version: Optional[str] = None,
                           token_refresh_extension_hours: Optional[float] = None,
                           token_store_enabled: Optional[bool] = None,
                           twitter_consumer_key: Optional[str] = None,
                           twitter_consumer_secret: Optional[str] = None,
                           twitter_consumer_secret_setting_name: Optional[str] = None,
                           unauthenticated_client_action: Optional[UnauthenticatedClientAction] = None,
                           validate_issuer: Optional[bool] = None)
    @overload
    def WebAppAuthSettings(resource_name: str,
                           args: WebAppAuthSettingsArgs,
                           opts: Optional[ResourceOptions] = None)
    func NewWebAppAuthSettings(ctx *Context, name string, args WebAppAuthSettingsArgs, opts ...ResourceOption) (*WebAppAuthSettings, error)
    public WebAppAuthSettings(string name, WebAppAuthSettingsArgs args, CustomResourceOptions? opts = null)
    public WebAppAuthSettings(String name, WebAppAuthSettingsArgs args)
    public WebAppAuthSettings(String name, WebAppAuthSettingsArgs args, CustomResourceOptions options)
    
    type: azure-native:web:WebAppAuthSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args WebAppAuthSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WebAppAuthSettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WebAppAuthSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppAuthSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAppAuthSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WebAppAuthSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The WebAppAuthSettings resource accepts the following input properties:

    Name string
    Name of web app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    AadClaimsAuthorization string
    Gets a JSON string containing the Azure AD Acl settings.
    AdditionalLoginParams List<string>
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    AllowedAudiences List<string>
    Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
    AllowedExternalRedirectUrls List<string>
    External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
    AuthFilePath string
    The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
    ClientId string
    The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    ClientSecret string
    The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    ClientSecretCertificateThumbprint string
    An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
    ClientSecretSettingName string
    The app setting name that contains the client secret of the relying party application.
    ConfigVersion string
    The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
    DefaultProvider Pulumi.AzureNative.Web.BuiltInAuthenticationProvider
    The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
    Enabled bool
    true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
    FacebookAppId string
    The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    FacebookAppSecret string
    The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    FacebookAppSecretSettingName string
    The app setting name that contains the app secret used for Facebook Login.
    FacebookOAuthScopes List<string>
    The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    GitHubClientId string
    The Client Id of the GitHub app used for login. This setting is required for enabling Github login
    GitHubClientSecret string
    The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
    GitHubClientSecretSettingName string
    The app setting name that contains the client secret of the Github app used for GitHub Login.
    GitHubOAuthScopes List<string>
    The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
    GoogleClientId string
    The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    GoogleClientSecret string
    The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    GoogleClientSecretSettingName string
    The app setting name that contains the client secret associated with the Google web application.
    GoogleOAuthScopes List<string>
    The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    IsAuthFromFile string
    "true" if the auth config settings should be read from a file, "false" otherwise
    Issuer string
    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
    Kind string
    Kind of resource.
    MicrosoftAccountClientId string
    The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    MicrosoftAccountClientSecret string
    The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    MicrosoftAccountClientSecretSettingName string
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
    MicrosoftAccountOAuthScopes List<string>
    The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
    RuntimeVersion string
    The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
    TokenRefreshExtensionHours double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
    TokenStoreEnabled bool
    true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
    TwitterConsumerKey string
    The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    TwitterConsumerSecret string
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    TwitterConsumerSecretSettingName string
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
    UnauthenticatedClientAction Pulumi.AzureNative.Web.UnauthenticatedClientAction
    The action to take when an unauthenticated client attempts to access the app.
    ValidateIssuer bool
    Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
    Name string
    Name of web app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    AadClaimsAuthorization string
    Gets a JSON string containing the Azure AD Acl settings.
    AdditionalLoginParams []string
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    AllowedAudiences []string
    Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
    AllowedExternalRedirectUrls []string
    External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
    AuthFilePath string
    The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
    ClientId string
    The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    ClientSecret string
    The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    ClientSecretCertificateThumbprint string
    An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
    ClientSecretSettingName string
    The app setting name that contains the client secret of the relying party application.
    ConfigVersion string
    The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
    DefaultProvider BuiltInAuthenticationProvider
    The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
    Enabled bool
    true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
    FacebookAppId string
    The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    FacebookAppSecret string
    The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    FacebookAppSecretSettingName string
    The app setting name that contains the app secret used for Facebook Login.
    FacebookOAuthScopes []string
    The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    GitHubClientId string
    The Client Id of the GitHub app used for login. This setting is required for enabling Github login
    GitHubClientSecret string
    The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
    GitHubClientSecretSettingName string
    The app setting name that contains the client secret of the Github app used for GitHub Login.
    GitHubOAuthScopes []string
    The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
    GoogleClientId string
    The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    GoogleClientSecret string
    The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    GoogleClientSecretSettingName string
    The app setting name that contains the client secret associated with the Google web application.
    GoogleOAuthScopes []string
    The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    IsAuthFromFile string
    "true" if the auth config settings should be read from a file, "false" otherwise
    Issuer string
    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
    Kind string
    Kind of resource.
    MicrosoftAccountClientId string
    The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    MicrosoftAccountClientSecret string
    The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    MicrosoftAccountClientSecretSettingName string
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
    MicrosoftAccountOAuthScopes []string
    The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
    RuntimeVersion string
    The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
    TokenRefreshExtensionHours float64
    The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
    TokenStoreEnabled bool
    true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
    TwitterConsumerKey string
    The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    TwitterConsumerSecret string
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    TwitterConsumerSecretSettingName string
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
    UnauthenticatedClientAction UnauthenticatedClientAction
    The action to take when an unauthenticated client attempts to access the app.
    ValidateIssuer bool
    Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
    name String
    Name of web app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    aadClaimsAuthorization String
    Gets a JSON string containing the Azure AD Acl settings.
    additionalLoginParams List<String>
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowedAudiences List<String>
    Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
    allowedExternalRedirectUrls List<String>
    External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
    authFilePath String
    The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
    clientId String
    The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    clientSecret String
    The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    clientSecretCertificateThumbprint String
    An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
    clientSecretSettingName String
    The app setting name that contains the client secret of the relying party application.
    configVersion String
    The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
    defaultProvider BuiltInAuthenticationProvider
    The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
    enabled Boolean
    true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
    facebookAppId String
    The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebookAppSecret String
    The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebookAppSecretSettingName String
    The app setting name that contains the app secret used for Facebook Login.
    facebookOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    gitHubClientId String
    The Client Id of the GitHub app used for login. This setting is required for enabling Github login
    gitHubClientSecret String
    The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
    gitHubClientSecretSettingName String
    The app setting name that contains the client secret of the Github app used for GitHub Login.
    gitHubOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
    googleClientId String
    The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    googleClientSecret String
    The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    googleClientSecretSettingName String
    The app setting name that contains the client secret associated with the Google web application.
    googleOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    isAuthFromFile String
    "true" if the auth config settings should be read from a file, "false" otherwise
    issuer String
    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
    kind String
    Kind of resource.
    microsoftAccountClientId String
    The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoftAccountClientSecret String
    The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoftAccountClientSecretSettingName String
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
    microsoftAccountOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
    runtimeVersion String
    The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
    tokenRefreshExtensionHours Double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
    tokenStoreEnabled Boolean
    true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
    twitterConsumerKey String
    The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitterConsumerSecret String
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitterConsumerSecretSettingName String
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
    unauthenticatedClientAction UnauthenticatedClientAction
    The action to take when an unauthenticated client attempts to access the app.
    validateIssuer Boolean
    Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
    name string
    Name of web app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    aadClaimsAuthorization string
    Gets a JSON string containing the Azure AD Acl settings.
    additionalLoginParams string[]
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowedAudiences string[]
    Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
    allowedExternalRedirectUrls string[]
    External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
    authFilePath string
    The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
    clientId string
    The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    clientSecret string
    The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    clientSecretCertificateThumbprint string
    An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
    clientSecretSettingName string
    The app setting name that contains the client secret of the relying party application.
    configVersion string
    The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
    defaultProvider BuiltInAuthenticationProvider
    The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
    enabled boolean
    true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
    facebookAppId string
    The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebookAppSecret string
    The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebookAppSecretSettingName string
    The app setting name that contains the app secret used for Facebook Login.
    facebookOAuthScopes string[]
    The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    gitHubClientId string
    The Client Id of the GitHub app used for login. This setting is required for enabling Github login
    gitHubClientSecret string
    The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
    gitHubClientSecretSettingName string
    The app setting name that contains the client secret of the Github app used for GitHub Login.
    gitHubOAuthScopes string[]
    The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
    googleClientId string
    The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    googleClientSecret string
    The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    googleClientSecretSettingName string
    The app setting name that contains the client secret associated with the Google web application.
    googleOAuthScopes string[]
    The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    isAuthFromFile string
    "true" if the auth config settings should be read from a file, "false" otherwise
    issuer string
    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
    kind string
    Kind of resource.
    microsoftAccountClientId string
    The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoftAccountClientSecret string
    The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoftAccountClientSecretSettingName string
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
    microsoftAccountOAuthScopes string[]
    The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
    runtimeVersion string
    The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
    tokenRefreshExtensionHours number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
    tokenStoreEnabled boolean
    true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
    twitterConsumerKey string
    The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitterConsumerSecret string
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitterConsumerSecretSettingName string
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
    unauthenticatedClientAction UnauthenticatedClientAction
    The action to take when an unauthenticated client attempts to access the app.
    validateIssuer boolean
    Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
    name str
    Name of web app.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    aad_claims_authorization str
    Gets a JSON string containing the Azure AD Acl settings.
    additional_login_params Sequence[str]
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowed_audiences Sequence[str]
    Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
    allowed_external_redirect_urls Sequence[str]
    External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
    auth_file_path str
    The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
    client_id str
    The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    client_secret str
    The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    client_secret_certificate_thumbprint str
    An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
    client_secret_setting_name str
    The app setting name that contains the client secret of the relying party application.
    config_version str
    The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
    default_provider BuiltInAuthenticationProvider
    The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
    enabled bool
    true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
    facebook_app_id str
    The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebook_app_secret str
    The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebook_app_secret_setting_name str
    The app setting name that contains the app secret used for Facebook Login.
    facebook_o_auth_scopes Sequence[str]
    The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    git_hub_client_id str
    The Client Id of the GitHub app used for login. This setting is required for enabling Github login
    git_hub_client_secret str
    The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
    git_hub_client_secret_setting_name str
    The app setting name that contains the client secret of the Github app used for GitHub Login.
    git_hub_o_auth_scopes Sequence[str]
    The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
    google_client_id str
    The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    google_client_secret str
    The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    google_client_secret_setting_name str
    The app setting name that contains the client secret associated with the Google web application.
    google_o_auth_scopes Sequence[str]
    The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    is_auth_from_file str
    "true" if the auth config settings should be read from a file, "false" otherwise
    issuer str
    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
    kind str
    Kind of resource.
    microsoft_account_client_id str
    The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoft_account_client_secret str
    The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoft_account_client_secret_setting_name str
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
    microsoft_account_o_auth_scopes Sequence[str]
    The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
    runtime_version str
    The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
    token_refresh_extension_hours float
    The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
    token_store_enabled bool
    true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
    twitter_consumer_key str
    The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitter_consumer_secret str
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitter_consumer_secret_setting_name str
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
    unauthenticated_client_action UnauthenticatedClientAction
    The action to take when an unauthenticated client attempts to access the app.
    validate_issuer bool
    Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
    name String
    Name of web app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    aadClaimsAuthorization String
    Gets a JSON string containing the Azure AD Acl settings.
    additionalLoginParams List<String>
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowedAudiences List<String>
    Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
    allowedExternalRedirectUrls List<String>
    External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
    authFilePath String
    The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
    clientId String
    The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    clientSecret String
    The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
    clientSecretCertificateThumbprint String
    An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
    clientSecretSettingName String
    The app setting name that contains the client secret of the relying party application.
    configVersion String
    The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
    defaultProvider "AzureActiveDirectory" | "Facebook" | "Google" | "MicrosoftAccount" | "Twitter" | "Github"
    The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
    enabled Boolean
    true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
    facebookAppId String
    The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebookAppSecret String
    The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    facebookAppSecretSettingName String
    The app setting name that contains the app secret used for Facebook Login.
    facebookOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
    gitHubClientId String
    The Client Id of the GitHub app used for login. This setting is required for enabling Github login
    gitHubClientSecret String
    The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
    gitHubClientSecretSettingName String
    The app setting name that contains the client secret of the Github app used for GitHub Login.
    gitHubOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
    googleClientId String
    The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    googleClientSecret String
    The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    googleClientSecretSettingName String
    The app setting name that contains the client secret associated with the Google web application.
    googleOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
    isAuthFromFile String
    "true" if the auth config settings should be read from a file, "false" otherwise
    issuer String
    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
    kind String
    Kind of resource.
    microsoftAccountClientId String
    The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoftAccountClientSecret String
    The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
    microsoftAccountClientSecretSettingName String
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
    microsoftAccountOAuthScopes List<String>
    The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
    runtimeVersion String
    The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
    tokenRefreshExtensionHours Number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
    tokenStoreEnabled Boolean
    true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
    twitterConsumerKey String
    The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitterConsumerSecret String
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
    twitterConsumerSecretSettingName String
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
    unauthenticatedClientAction "RedirectToLoginPage" | "AllowAnonymous"
    The action to take when an unauthenticated client attempts to access the app.
    validateIssuer Boolean
    Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebAppAuthSettings resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Resource type.

    Supporting Types

    BuiltInAuthenticationProvider, BuiltInAuthenticationProviderArgs

    AzureActiveDirectory
    AzureActiveDirectory
    Facebook
    Facebook
    Google
    Google
    MicrosoftAccount
    MicrosoftAccount
    Twitter
    Twitter
    Github
    Github
    BuiltInAuthenticationProviderAzureActiveDirectory
    AzureActiveDirectory
    BuiltInAuthenticationProviderFacebook
    Facebook
    BuiltInAuthenticationProviderGoogle
    Google
    BuiltInAuthenticationProviderMicrosoftAccount
    MicrosoftAccount
    BuiltInAuthenticationProviderTwitter
    Twitter
    BuiltInAuthenticationProviderGithub
    Github
    AzureActiveDirectory
    AzureActiveDirectory
    Facebook
    Facebook
    Google
    Google
    MicrosoftAccount
    MicrosoftAccount
    Twitter
    Twitter
    Github
    Github
    AzureActiveDirectory
    AzureActiveDirectory
    Facebook
    Facebook
    Google
    Google
    MicrosoftAccount
    MicrosoftAccount
    Twitter
    Twitter
    Github
    Github
    AZURE_ACTIVE_DIRECTORY
    AzureActiveDirectory
    FACEBOOK
    Facebook
    GOOGLE
    Google
    MICROSOFT_ACCOUNT
    MicrosoftAccount
    TWITTER
    Twitter
    GITHUB
    Github
    "AzureActiveDirectory"
    AzureActiveDirectory
    "Facebook"
    Facebook
    "Google"
    Google
    "MicrosoftAccount"
    MicrosoftAccount
    "Twitter"
    Twitter
    "Github"
    Github

    UnauthenticatedClientAction, UnauthenticatedClientActionArgs

    RedirectToLoginPage
    RedirectToLoginPage
    AllowAnonymous
    AllowAnonymous
    UnauthenticatedClientActionRedirectToLoginPage
    RedirectToLoginPage
    UnauthenticatedClientActionAllowAnonymous
    AllowAnonymous
    RedirectToLoginPage
    RedirectToLoginPage
    AllowAnonymous
    AllowAnonymous
    RedirectToLoginPage
    RedirectToLoginPage
    AllowAnonymous
    AllowAnonymous
    REDIRECT_TO_LOGIN_PAGE
    RedirectToLoginPage
    ALLOW_ANONYMOUS
    AllowAnonymous
    "RedirectToLoginPage"
    RedirectToLoginPage
    "AllowAnonymous"
    AllowAnonymous

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:web:WebAppAuthSettings authsettings /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi