mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-26 14:38:09 +02:00
config: support map of jwt claim headers (#1906)
* config: support map of jwt claim headers * fix array handling, add test * update docs * use separate hook, add tests
This commit is contained in:
parent
d04416a5fd
commit
1a1cc30c67
14 changed files with 482 additions and 269 deletions
|
@ -34,7 +34,7 @@ type proxyState struct {
|
|||
refreshCooldown time.Duration
|
||||
sessionStore sessions.SessionStore
|
||||
sessionLoaders []sessions.SessionLoader
|
||||
jwtClaimHeaders []string
|
||||
jwtClaimHeaders config.JWTClaimHeaders
|
||||
}
|
||||
|
||||
func newProxyStateFromConfig(cfg *config.Config) (*proxyState, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue