Skip to content

Commit

Permalink
Merge pull request #160 from auth0/rs256-default
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Mar 15, 2021
2 parents 732b4b6 + 7731afd commit 398e0e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cli/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func createAppCmd(cli *cli) *cobra.Command {
Grants []string
}
var oidcConformant = true
var algorithm = "RS256"

cmd := &cobra.Command{
Use: "create",
Expand Down Expand Up @@ -247,6 +248,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 {
Expand Down

0 comments on commit 398e0e2

Please sign in to comment.