updated readme to reflext IsPermissive change

This commit is contained in:
Darko Luketic 2021-11-17 11:48:14 +01:00
parent 879c7be1bc
commit b13bdbaace

View File

@ -21,7 +21,7 @@ func main() {
options.WithIssuer(cfg.Issuer), options.WithIssuer(cfg.Issuer),
options.WithRequiredTokenType("JWT"), options.WithRequiredTokenType("JWT"),
options.WithRequiredAudience(cfg.Audience), options.WithRequiredAudience(cfg.Audience),
options.WithPermissive(), options.IsPermissive(),
) )
v1 := r.Group("/api/v1") v1 := r.Group("/api/v1")
v1.Use(oidcHandler) v1.Use(oidcHandler)