Skip to content

Commit 3d452cd

Browse files
Update auth0.go
1 parent f2ce678 commit 3d452cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth0.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func Auth0WithConfig(config Auth0Config) echo.MiddlewareFunc {
7373
provider.KeyFunc,
7474
validator.SignatureAlgorithm(config.SignatureAlgorithm),
7575
issuerURL.String(),
76-
[]string{"<your api identifier>"},
76+
config.Audience,
7777
)
7878
if err != nil {
7979
log.Fatalf("failed to set up the validator: %v", err)

0 commit comments

Comments
 (0)