Skip to content
Snippets Groups Projects
Commit 3ca80504 authored by Will Szumski's avatar Will Szumski Committed by Michal Nasiadka
Browse files

Enable memcached backend for mod_auth_openidc

Change-Id: Ie87a7488dad369464793b47c3d2db67d7dc1694e
parent 008ada90
No related branches found
No related tags found
No related merge requests found
......@@ -201,3 +201,6 @@ keystone_enable_federation_openid: "{{ enable_keystone_federation | bool and key
keystone_should_remove_attribute_mappings: False
keystone_should_remove_identity_providers: False
keystone_federation_oidc_scopes: "openid email profile"
# OIDC caching
keystone_oidc_enable_memcached: "{{ enable_memcached }}"
......@@ -64,6 +64,10 @@ LogLevel info
{% endif %}
OIDCCryptoPassphrase {{ keystone_federation_openid_crypto_password }}
OIDCRedirectURI {{ keystone_public_url }}/redirect_uri
{% if enable_memcached | bool and keystone_oidc_enable_memcached | bool %}
OIDCCacheType memcache
OIDCMemCacheServers "{% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}"
{% endif %}
<Location ~ "/redirect_uri">
Require valid-user
......
---
features:
- |
Keystone OIDC integration now uses memcached for the caching backend if
``enable_memcached`` is ``True``. This can be disabled by setting
``keystone_oidc_enable_memcached`` to ``False``.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment