updated readme to reflext IsPermissive change
This commit is contained in:
parent
879c7be1bc
commit
b13bdbaace
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user