Skip to content

Commit

Permalink
Add option for OIDCOutgoingProxy for mod_auth_openidc
Browse files Browse the repository at this point in the history
Allows a user to specify the OIDCOutgoingProxy setting for mod_auth_openidc
when setting up an OIDC identity provider.

Change-Id: Ib37ace634f81e4f691d0b1aa8c52424a1c851da4
  • Loading branch information
GeorginaShippey committed Apr 28, 2020
1 parent 8d7d94e commit 3b283ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Expand Up @@ -436,6 +436,7 @@ keystone_sp: {}
# oidc_client_secret: secret
# oidc_crypto_passphrase: random string
# oidc_redirect_uri: https://keystone:5000/v3/OS-FEDERATION/identity_providers/keycloak-idp/protocols/openid/auth
# oidc_outgoing_proxy: "proxy address" (optional setting)
# entity_ids:
# - 'https://identity-provider/openid-endpoint/'
# federated_identities:
Expand Down
5 changes: 4 additions & 1 deletion templates/keystone-httpd.conf.j2
Expand Up @@ -45,7 +45,10 @@ Listen {{ keystone_service_port }}
OIDCRedirectURI {{ keystone_sp.trusted_idp_list.0.oidc_redirect_uri }}
{% if keystone_sp.trusted_idp_list.0.oidc_auth_verify_jwks_uri is defined -%}
OIDCOAuthVerifyJwksUri {{ keystone_sp.trusted_idp_list.0.oidc_auth_verify_jwks_uri }}
{% endif %}
{% endif -%}
{% if keystone_sp.trusted_idp_list.0.oidc_outgoing_proxy is defined -%}
OIDCOutgoingProxy {{ keystone_sp.trusted_idp_list.0.oidc_outgoing_proxy }}
{% endif -%}

<Location /v3/OS-FEDERATION/identity_providers/{{ keystone_sp.trusted_idp_list.0.name }}/protocols/openid/auth>
Require valid-user
Expand Down

0 comments on commit 3b283ed

Please sign in to comment.