Skip to content

Commit 398e0e2

Browse files
authored
Merge pull request #160 from auth0/rs256-default
2 parents 732b4b6 + 7731afd commit 398e0e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/cli/apps.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ func createAppCmd(cli *cli) *cobra.Command {
201201
Grants []string
202202
}
203203
var oidcConformant = true
204+
var algorithm = "RS256"
204205

205206
cmd := &cobra.Command{
206207
Use: "create",
@@ -247,6 +248,7 @@ auth0 apps create --name myapp --type [native|spa|regular|m2m]
247248
AllowedLogoutURLs: stringToInterfaceSlice(flags.AllowedLogoutURLs),
248249
TokenEndpointAuthMethod: apiAuthMethodFor(flags.AuthMethod),
249250
OIDCConformant: &oidcConformant,
251+
JWTConfiguration: &management.ClientJWTConfiguration{Algorithm: &algorithm},
250252
}
251253

252254
if len(flags.Grants) == 0 {

0 commit comments

Comments
 (0)