fix: update README.md and support semicolon in scope (#1279)

This commit is contained in:
Jingze
2024-09-04 15:05:12 +08:00
committed by GitHub
parent f03ce572be
commit ea862cfd4c
2 changed files with 61 additions and 27 deletions

View File

@@ -42,6 +42,7 @@ func parseConfig(json gjson.Result, config *PluginConfig, log wrapper.Log) error
if err != nil {
return err
}
opts.Providers[0].Scope = strings.Replace(opts.Providers[0].Scope, ";", " ", -1)
config.options = opts
oidcHandler, err = oidc.NewOAuthProxy(opts)