Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward X-Auth-Request-Id-Token header in oauth #1126

Merged
merged 4 commits into from Jun 20, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

forward X-Auth-Request-Id-Token header in oauth

  • Loading branch information...
diptadas
diptadas committed Jun 12, 2018
commit 07533006347288963301de1488db21ee3eb7a6d8
@@ -90,6 +90,7 @@ frontend {{ .FrontendName }}
http-request redirect location {{ $host.ExternalAuth.SigninPath }}?rd=%[path] if acl_{{ $host.Host | acl_name }} ! acl_{{ $host.Host | acl_name }}_auth_backend_path acl_{{ $host.Host | acl_name }}_secure_paths ! { var(txn.auth_response_successful) -m bool }
http-request set-header X-Auth-Request-Email %[var(txn.auth_response_email)] if acl_{{ $host.Host | acl_name }} ! acl_{{ $host.Host | acl_name }}_auth_backend_path acl_{{ $host.Host | acl_name }}_secure_paths { var(txn.auth_response_email) -m found }
http-request set-header X-Auth-Request-User %[var(txn.auth_response_user)] if acl_{{ $host.Host | acl_name }} ! acl_{{ $host.Host | acl_name }}_auth_backend_path acl_{{ $host.Host | acl_name }}_secure_paths { var(txn.auth_response_user) -m found }
http-request set-header X-Auth-Request-Id-Token %[var(txn.auth_response_id_token)] if acl_{{ $host.Host | acl_name }} ! acl_{{ $host.Host | acl_name }}_auth_backend_path acl_{{ $host.Host | acl_name }}_secure_paths { var(txn.auth_response_id_token) -m found }
{{ end }}

{{ range $path := $host.Paths }}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.