You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to compile the demo, I get the following error:
PS C:\dev\auth0-golang-jwt-master> go run main.go
# command-line-arguments
.\main.go:49: cannot use audience (type string) as type []string in argument to auth0.NewConfiguration
PS C:\dev\auth0-golang-jwt-master>
The line configuration := auth0.NewConfiguration(secretProvider, audience, "https://{YOUR-AUTH0-DOMAIN}.auth0.com/", jose.HS256)
If I try to compile the demo, I get the following error:
The line
configuration := auth0.NewConfiguration(secretProvider, audience, "https://{YOUR-AUTH0-DOMAIN}.auth0.com/", jose.HS256)
needs to be changed in this way:
configuration := auth0.NewConfiguration(secretProvider, []string{audience}, "https://{YOUR-AUTH0-DOMAIN}.auth0.com/", jose.HS256)
The text was updated successfully, but these errors were encountered: