GoogleCloudPlatform / GoogleCloudPlatform/asm-user-auth

Additional configuration in the configmaps

Open
#27 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
9
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

I am trying to understand how to add additional OIDC parameters like below...
````
OIDCSSLValidateServer Off
OIDCPassIDTokenAs serialized
OIDCRemoteUserClaim email
OIDCAuthNHeader ct-remote-user
OIDCSessionInactivityTimeout 1800
OIDCSessionMaxDuration 36000

RequestHeader set x-forwarded-for "%{HOST}e"
RequestHeader set x-forwarded-proto "https"
RequestHeader set x-forwarded-host "%{HOST}e"
RequestHeader set Authorization "Bearer %{access_token}e"
RequestHeader set X-Requested-With %{REQUEST_URI}s early

# Strip the port from the Location response, assuming the Openshift Route will always have the default port for the schema.
# This is only required because the X-Forwarded-Proto header is missing from the AVI request
Header edit Location "^http(s?):\/\/(.+):[\d]+\/(.*)$" "http://$[HOST]/$3"

AuthType openid-connect
Require valid-user
ProxyPass http://test/
ProxyPassReverse http://test/
ProxyPassReverseCookiePath /test-path /test-path

````

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.