From 4fe36164ed634d1534d3926c3bbc958adb1542d7 Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Fri, 12 Mar 2021 20:11:18 -0300 Subject: [PATCH] Use RS256 alg by default on new apps --- internal/cli/apps.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/cli/apps.go b/internal/cli/apps.go index e7f5ef9e6..7dd488acf 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -176,6 +176,7 @@ func createAppCmd(cli *cli) *cobra.Command { Grants []string } var oidcConformant = true + var algorithm = "RS256" cmd := &cobra.Command{ Use: "create", @@ -233,6 +234,7 @@ auth0 apps create --name myapp --type [native|spa|regular|m2m] AllowedLogoutURLs: stringToInterfaceSlice(flags.AllowedLogoutURLs), TokenEndpointAuthMethod: apiAuthMethodFor(flags.AuthMethod), OIDCConformant: &oidcConformant, + JWTConfiguration: &management.ClientJWTConfiguration{Algorithm: &algorithm}, } if len(flags.Grants) == 0 {