azure-native.web.WebAppAuthSettings
Explore with Pulumi AI
Configuration settings for the Azure App Service Authentication / Authorization feature. API Version: 2020-12-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:WebAppAuthSettings myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings
Create WebAppAuthSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppAuthSettings(name: string, args: WebAppAuthSettingsArgs, opts?: CustomResourceOptions);
@overload
def WebAppAuthSettings(resource_name: str,
args: WebAppAuthSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppAuthSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
google_client_id: Optional[str] = None,
token_store_enabled: Optional[bool] = 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,
google_client_secret_setting_name: Optional[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,
unauthenticated_client_action: Optional[UnauthenticatedClientAction] = None,
allowed_external_redirect_urls: Optional[Sequence[str]] = None,
facebook_o_auth_scopes: Optional[Sequence[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,
allowed_audiences: Optional[Sequence[str]] = None,
additional_login_params: Optional[Sequence[str]] = None,
runtime_version: Optional[str] = None,
token_refresh_extension_hours: Optional[float] = None,
google_client_secret: Optional[str] = None,
twitter_consumer_key: Optional[str] = None,
twitter_consumer_secret: Optional[str] = None,
twitter_consumer_secret_setting_name: Optional[str] = None,
aad_claims_authorization: Optional[str] = None,
validate_issuer: Optional[bool] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var webAppAuthSettingsResource = new AzureNative.Web.WebAppAuthSettings("webAppAuthSettingsResource", new()
{
Name = "string",
ResourceGroupName = "string",
GoogleClientId = "string",
TokenStoreEnabled = false,
AuthFilePath = "string",
ClientId = "string",
ClientSecret = "string",
ClientSecretCertificateThumbprint = "string",
ClientSecretSettingName = "string",
ConfigVersion = "string",
DefaultProvider = "AzureActiveDirectory",
Enabled = false,
FacebookAppId = "string",
FacebookAppSecret = "string",
FacebookAppSecretSettingName = "string",
GoogleClientSecretSettingName = "string",
GitHubClientId = "string",
GitHubClientSecret = "string",
GitHubClientSecretSettingName = "string",
GitHubOAuthScopes = new[]
{
"string",
},
UnauthenticatedClientAction = "RedirectToLoginPage",
AllowedExternalRedirectUrls = new[]
{
"string",
},
FacebookOAuthScopes = new[]
{
"string",
},
GoogleOAuthScopes = new[]
{
"string",
},
IsAuthFromFile = "string",
Issuer = "string",
Kind = "string",
MicrosoftAccountClientId = "string",
MicrosoftAccountClientSecret = "string",
MicrosoftAccountClientSecretSettingName = "string",
MicrosoftAccountOAuthScopes = new[]
{
"string",
},
AllowedAudiences = new[]
{
"string",
},
AdditionalLoginParams = new[]
{
"string",
},
RuntimeVersion = "string",
TokenRefreshExtensionHours = 0,
GoogleClientSecret = "string",
TwitterConsumerKey = "string",
TwitterConsumerSecret = "string",
TwitterConsumerSecretSettingName = "string",
AadClaimsAuthorization = "string",
ValidateIssuer = false,
});
example, err := web.NewWebAppAuthSettings(ctx, "webAppAuthSettingsResource", &web.WebAppAuthSettingsArgs{
Name: "string",
ResourceGroupName: "string",
GoogleClientId: "string",
TokenStoreEnabled: false,
AuthFilePath: "string",
ClientId: "string",
ClientSecret: "string",
ClientSecretCertificateThumbprint: "string",
ClientSecretSettingName: "string",
ConfigVersion: "string",
DefaultProvider: "AzureActiveDirectory",
Enabled: false,
FacebookAppId: "string",
FacebookAppSecret: "string",
FacebookAppSecretSettingName: "string",
GoogleClientSecretSettingName: "string",
GitHubClientId: "string",
GitHubClientSecret: "string",
GitHubClientSecretSettingName: "string",
GitHubOAuthScopes: []string{
"string",
},
UnauthenticatedClientAction: "RedirectToLoginPage",
AllowedExternalRedirectUrls: []string{
"string",
},
FacebookOAuthScopes: []string{
"string",
},
GoogleOAuthScopes: []string{
"string",
},
IsAuthFromFile: "string",
Issuer: "string",
Kind: "string",
MicrosoftAccountClientId: "string",
MicrosoftAccountClientSecret: "string",
MicrosoftAccountClientSecretSettingName: "string",
MicrosoftAccountOAuthScopes: []string{
"string",
},
AllowedAudiences: []string{
"string",
},
AdditionalLoginParams: []string{
"string",
},
RuntimeVersion: "string",
TokenRefreshExtensionHours: 0,
GoogleClientSecret: "string",
TwitterConsumerKey: "string",
TwitterConsumerSecret: "string",
TwitterConsumerSecretSettingName: "string",
AadClaimsAuthorization: "string",
ValidateIssuer: false,
})
var webAppAuthSettingsResource = new WebAppAuthSettings("webAppAuthSettingsResource", WebAppAuthSettingsArgs.builder()
.name("string")
.resourceGroupName("string")
.googleClientId("string")
.tokenStoreEnabled(false)
.authFilePath("string")
.clientId("string")
.clientSecret("string")
.clientSecretCertificateThumbprint("string")
.clientSecretSettingName("string")
.configVersion("string")
.defaultProvider("AzureActiveDirectory")
.enabled(false)
.facebookAppId("string")
.facebookAppSecret("string")
.facebookAppSecretSettingName("string")
.googleClientSecretSettingName("string")
.gitHubClientId("string")
.gitHubClientSecret("string")
.gitHubClientSecretSettingName("string")
.gitHubOAuthScopes("string")
.unauthenticatedClientAction("RedirectToLoginPage")
.allowedExternalRedirectUrls("string")
.facebookOAuthScopes("string")
.googleOAuthScopes("string")
.isAuthFromFile("string")
.issuer("string")
.kind("string")
.microsoftAccountClientId("string")
.microsoftAccountClientSecret("string")
.microsoftAccountClientSecretSettingName("string")
.microsoftAccountOAuthScopes("string")
.allowedAudiences("string")
.additionalLoginParams("string")
.runtimeVersion("string")
.tokenRefreshExtensionHours(0)
.googleClientSecret("string")
.twitterConsumerKey("string")
.twitterConsumerSecret("string")
.twitterConsumerSecretSettingName("string")
.aadClaimsAuthorization("string")
.validateIssuer(false)
.build());
web_app_auth_settings_resource = azure_native.web.WebAppAuthSettings("webAppAuthSettingsResource",
name=string,
resource_group_name=string,
google_client_id=string,
token_store_enabled=False,
auth_file_path=string,
client_id=string,
client_secret=string,
client_secret_certificate_thumbprint=string,
client_secret_setting_name=string,
config_version=string,
default_provider=AzureActiveDirectory,
enabled=False,
facebook_app_id=string,
facebook_app_secret=string,
facebook_app_secret_setting_name=string,
google_client_secret_setting_name=string,
git_hub_client_id=string,
git_hub_client_secret=string,
git_hub_client_secret_setting_name=string,
git_hub_o_auth_scopes=[string],
unauthenticated_client_action=RedirectToLoginPage,
allowed_external_redirect_urls=[string],
facebook_o_auth_scopes=[string],
google_o_auth_scopes=[string],
is_auth_from_file=string,
issuer=string,
kind=string,
microsoft_account_client_id=string,
microsoft_account_client_secret=string,
microsoft_account_client_secret_setting_name=string,
microsoft_account_o_auth_scopes=[string],
allowed_audiences=[string],
additional_login_params=[string],
runtime_version=string,
token_refresh_extension_hours=0,
google_client_secret=string,
twitter_consumer_key=string,
twitter_consumer_secret=string,
twitter_consumer_secret_setting_name=string,
aad_claims_authorization=string,
validate_issuer=False)
const webAppAuthSettingsResource = new azure_native.web.WebAppAuthSettings("webAppAuthSettingsResource", {
name: "string",
resourceGroupName: "string",
googleClientId: "string",
tokenStoreEnabled: false,
authFilePath: "string",
clientId: "string",
clientSecret: "string",
clientSecretCertificateThumbprint: "string",
clientSecretSettingName: "string",
configVersion: "string",
defaultProvider: "AzureActiveDirectory",
enabled: false,
facebookAppId: "string",
facebookAppSecret: "string",
facebookAppSecretSettingName: "string",
googleClientSecretSettingName: "string",
gitHubClientId: "string",
gitHubClientSecret: "string",
gitHubClientSecretSettingName: "string",
gitHubOAuthScopes: ["string"],
unauthenticatedClientAction: "RedirectToLoginPage",
allowedExternalRedirectUrls: ["string"],
facebookOAuthScopes: ["string"],
googleOAuthScopes: ["string"],
isAuthFromFile: "string",
issuer: "string",
kind: "string",
microsoftAccountClientId: "string",
microsoftAccountClientSecret: "string",
microsoftAccountClientSecretSettingName: "string",
microsoftAccountOAuthScopes: ["string"],
allowedAudiences: ["string"],
additionalLoginParams: ["string"],
runtimeVersion: "string",
tokenRefreshExtensionHours: 0,
googleClientSecret: "string",
twitterConsumerKey: "string",
twitterConsumerSecret: "string",
twitterConsumerSecretSettingName: "string",
aadClaimsAuthorization: "string",
validateIssuer: false,
});
type: azure-native:web:WebAppAuthSettings
properties:
aadClaimsAuthorization: string
additionalLoginParams:
- string
allowedAudiences:
- string
allowedExternalRedirectUrls:
- string
authFilePath: string
clientId: string
clientSecret: string
clientSecretCertificateThumbprint: string
clientSecretSettingName: string
configVersion: string
defaultProvider: AzureActiveDirectory
enabled: false
facebookAppId: string
facebookAppSecret: string
facebookAppSecretSettingName: string
facebookOAuthScopes:
- string
gitHubClientId: string
gitHubClientSecret: string
gitHubClientSecretSettingName: string
gitHubOAuthScopes:
- string
googleClientId: string
googleClientSecret: string
googleClientSecretSettingName: string
googleOAuthScopes:
- string
isAuthFromFile: string
issuer: string
kind: string
microsoftAccountClientId: string
microsoftAccountClientSecret: string
microsoftAccountClientSecretSettingName: string
microsoftAccountOAuthScopes:
- string
name: string
resourceGroupName: string
runtimeVersion: string
tokenRefreshExtensionHours: 0
tokenStoreEnabled: false
twitterConsumerKey: string
twitterConsumerSecret: string
twitterConsumerSecretSettingName: string
unauthenticatedClientAction: RedirectToLoginPage
validateIssuer: false
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.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- string
- Gets a JSON string containing the Azure AD Acl settings.
- Additional
Login List<string>Params - 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 List<string> - Allowed audience values to consider when validating JWTs issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- Allowed
External List<string>Redirect Urls - 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 stringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- Client
Id 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
- Client
Secret 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
- Client
Secret stringCertificate Thumbprint - 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 stringSetting Name - The app setting name that contains the client secret of the relying party application.
- Config
Version 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.
- Default
Provider Pulumi.Azure Native. Web. Built In Authentication Provider - 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 stringId - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- Facebook
OAuth List<string>Scopes - 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 stringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- Git
Hub stringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- Git
Hub stringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- Git
Hub List<string>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- Google
Client stringId - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- Google
OAuth List<string>Scopes - 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 stringFrom File - "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.
- Microsoft
Account stringClient Id - 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 stringClient Secret - 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 stringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- Microsoft
Account List<string>OAuth Scopes - 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 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.
- Token
Refresh doubleExtension Hours - 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 boolEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- Twitter
Consumer stringKey - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- Unauthenticated
Client Pulumi.Action Azure Native. Web. Unauthenticated Client Action - 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.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- string
- Gets a JSON string containing the Azure AD Acl settings.
- Additional
Login []stringParams - 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 []string - Allowed audience values to consider when validating JWTs issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- Allowed
External []stringRedirect Urls - 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 stringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- Client
Id 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
- Client
Secret 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
- Client
Secret stringCertificate Thumbprint - 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 stringSetting Name - The app setting name that contains the client secret of the relying party application.
- Config
Version 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.
- Default
Provider BuiltIn Authentication Provider - 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 stringId - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- Facebook
OAuth []stringScopes - 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 stringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- Git
Hub stringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- Git
Hub stringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- Git
Hub []stringOAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- Google
Client stringId - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- Google
OAuth []stringScopes - 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 stringFrom File - "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.
- Microsoft
Account stringClient Id - 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 stringClient Secret - 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 stringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- Microsoft
Account []stringOAuth Scopes - 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 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.
- Token
Refresh float64Extension Hours - 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 boolEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- Twitter
Consumer stringKey - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- Unauthenticated
Client UnauthenticatedAction Client Action - 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.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- String
- Gets a JSON string containing the Azure AD Acl settings.
- additional
Login List<String>Params - 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 List<String> - Allowed audience values to consider when validating JWTs issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed
External List<String>Redirect Urls - 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 StringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client
Id 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
- client
Secret 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
- client
Secret StringCertificate Thumbprint - 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 StringSetting Name - The app setting name that contains the client secret of the relying party application.
- config
Version 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.
- default
Provider BuiltIn Authentication Provider - 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.
- facebook
App StringId - 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 StringSecret - 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 StringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- facebook
OAuth List<String>Scopes - 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 StringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git
Hub StringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git
Hub StringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git
Hub List<String>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google
Client StringId - 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 StringSecret - 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 StringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- google
OAuth List<String>Scopes - 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 StringFrom File - "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.
- microsoft
Account StringClient Id - 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 StringClient Secret - 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 StringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft
Account List<String>OAuth Scopes - 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 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.
- token
Refresh DoubleExtension Hours - 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 BooleanEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter
Consumer StringKey - 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 StringSecret - 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 StringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated
Client UnauthenticatedAction Client Action - The action to take when an unauthenticated client attempts to access the app.
- validate
Issuer 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.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- string
- Gets a JSON string containing the Azure AD Acl settings.
- additional
Login string[]Params - 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 string[] - Allowed audience values to consider when validating JWTs issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed
External string[]Redirect Urls - 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 stringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client
Id 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
- client
Secret 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
- client
Secret stringCertificate Thumbprint - 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 stringSetting Name - The app setting name that contains the client secret of the relying party application.
- config
Version 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.
- default
Provider BuiltIn Authentication Provider - 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.
- facebook
App stringId - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- facebook
OAuth string[]Scopes - 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 stringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git
Hub stringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git
Hub stringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git
Hub string[]OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google
Client stringId - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- google
OAuth string[]Scopes - 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 stringFrom File - "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.
- microsoft
Account stringClient Id - 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 stringClient Secret - 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 stringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft
Account string[]OAuth Scopes - 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 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.
- token
Refresh numberExtension Hours - 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 booleanEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter
Consumer stringKey - 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 stringSecret - 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 stringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated
Client UnauthenticatedAction Client Action - The action to take when an unauthenticated client attempts to access the app.
- validate
Issuer 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_ strname - Name of the resource group to which the resource belongs.
- str
- Gets a JSON string containing the Azure AD Acl settings.
- additional_
login_ Sequence[str]params - 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 JWTs issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed_
external_ Sequence[str]redirect_ urls - 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_ strpath - 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_ strcertificate_ thumbprint - 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_ strsetting_ name - 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 BuiltIn Authentication Provider - 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_ strid - 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_ strsecret - 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_ strsecret_ setting_ name - The app setting name that contains the app secret used for Facebook Login.
- facebook_
o_ Sequence[str]auth_ scopes - 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_ strclient_ id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git_
hub_ strclient_ secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git_
hub_ strclient_ secret_ setting_ name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git_
hub_ Sequence[str]o_ auth_ scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google_
client_ strid - 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_ strsecret - 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_ strsecret_ setting_ name - The app setting name that contains the client secret associated with the Google web application.
- google_
o_ Sequence[str]auth_ scopes - 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_ strfrom_ file - "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_ strclient_ id - 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_ strclient_ secret - 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_ strclient_ secret_ setting_ name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft_
account_ Sequence[str]o_ auth_ scopes - 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_ floatextension_ hours - 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_ boolenabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter_
consumer_ strkey - 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_ strsecret - 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_ strsecret_ setting_ name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated_
client_ Unauthenticatedaction Client Action - 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.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- String
- Gets a JSON string containing the Azure AD Acl settings.
- additional
Login List<String>Params - 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 List<String> - Allowed audience values to consider when validating JWTs issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed
External List<String>Redirect Urls - 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 StringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client
Id 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
- client
Secret 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
- client
Secret StringCertificate Thumbprint - 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 StringSetting Name - The app setting name that contains the client secret of the relying party application.
- config
Version 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.
- default
Provider "AzureActive Directory" | "Facebook" | "Google" | "Microsoft Account" | "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.
- facebook
App StringId - 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 StringSecret - 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 StringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- facebook
OAuth List<String>Scopes - 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 StringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git
Hub StringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git
Hub StringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git
Hub List<String>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google
Client StringId - 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 StringSecret - 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 StringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- google
OAuth List<String>Scopes - 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 StringFrom File - "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.
- microsoft
Account StringClient Id - 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 StringClient Secret - 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 StringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft
Account List<String>OAuth Scopes - 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 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.
- token
Refresh NumberExtension Hours - 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 BooleanEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter
Consumer StringKey - 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 StringSecret - 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 StringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated
Client "RedirectAction To Login Page" | "Allow Anonymous" - The action to take when an unauthenticated client attempts to access the app.
- validate
Issuer 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:
Supporting Types
BuiltInAuthenticationProvider, BuiltInAuthenticationProviderArgs
- Azure
Active Directory - AzureActiveDirectory
- Microsoft
Account - MicrosoftAccount
- Github
- Github
- Built
In Authentication Provider Azure Active Directory - AzureActiveDirectory
- Built
In Authentication Provider Facebook - Built
In Authentication Provider Google - Built
In Authentication Provider Microsoft Account - MicrosoftAccount
- Built
In Authentication Provider Twitter - Built
In Authentication Provider Github - Github
- Azure
Active Directory - AzureActiveDirectory
- Microsoft
Account - MicrosoftAccount
- Github
- Github
- Azure
Active Directory - AzureActiveDirectory
- Microsoft
Account - MicrosoftAccount
- Github
- Github
- AZURE_ACTIVE_DIRECTORY
- AzureActiveDirectory
- MICROSOFT_ACCOUNT
- MicrosoftAccount
- GITHUB
- Github
- "Azure
Active Directory" - AzureActiveDirectory
- "Facebook"
- "Google"
- "Microsoft
Account" - MicrosoftAccount
- "Twitter"
- "Github"
- Github
UnauthenticatedClientAction, UnauthenticatedClientActionArgs
- Redirect
To Login Page - RedirectToLoginPage
- Allow
Anonymous - AllowAnonymous
- Unauthenticated
Client Action Redirect To Login Page - RedirectToLoginPage
- Unauthenticated
Client Action Allow Anonymous - AllowAnonymous
- Redirect
To Login Page - RedirectToLoginPage
- Allow
Anonymous - AllowAnonymous
- Redirect
To Login Page - RedirectToLoginPage
- Allow
Anonymous - AllowAnonymous
- REDIRECT_TO_LOGIN_PAGE
- RedirectToLoginPage
- ALLOW_ANONYMOUS
- AllowAnonymous
- "Redirect
To Login Page" - RedirectToLoginPage
- "Allow
Anonymous" - AllowAnonymous
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0