az containerapp auth facebook

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.37.0 or higher). The extension will automatically install the first time you run an az containerapp auth facebook command. Learn more about extensions.

Manage containerapp authentication and authorization of the Facebook identity provider.

Commands

az containerapp auth facebook show

Show the authentication settings for the Facebook identity provider.

az containerapp auth facebook update

Update the app id and app secret for the Facebook identity provider.

az containerapp auth facebook show

Show the authentication settings for the Facebook identity provider.

az containerapp auth facebook show --name
                                   --resource-group

Examples

Show the authentication settings for the Facebook identity provider.

az containerapp auth facebook show --name MyContainerapp --resource-group MyResourceGroup

Required Parameters

--name -n

The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az containerapp auth facebook update

Update the app id and app secret for the Facebook identity provider.

az containerapp auth facebook update --name
                                     --resource-group
                                     [--app-id]
                                     [--app-secret]
                                     [--app-secret-name]
                                     [--graph-api-version]
                                     [--scopes]
                                     [--yes]

Examples

Update the app id and app secret for the Facebook identity provider.

az containerapp auth facebook update  -g myResourceGroup --name MyContainerapp \
  --app-id my-client-id --app-secret very_secret_password

Required Parameters

--name -n

The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--app-id

The App ID of the app used for login.

--app-secret

The app secret.

--app-secret-name --secret-name

The app secret name that contains the app secret.

--graph-api-version

The version of the Facebook api to be used while logging in.

--scopes

A list of the scopes that should be requested while authenticating.

--yes -y

Do not prompt for confirmation.