-
Notifications
You must be signed in to change notification settings - Fork 31
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
ood_auth_openidc does not support multi-valued options #211
Comments
So I think what you want to do here is use this config ood-ansible/templates/ood_portal.yml.j2 Lines 457 to 463 in beb8571
I think However, using
|
That said - I'm looking into your fix for |
Thanks! So, our deployment recipes were already using |
Would #212 work for you? |
@johrstrom @ltalirz I'm testing this fix and I can't get it to work. Is there a way to avoid quotes for that value or does the fix is wrong ? |
I think you need to configure it as ood_auth_openidc:
OIDCStateMaxNumberOfCookies:
- 10
- true
OtherStringValue: 'yesplz' |
Thanks @johrstrom I confirm it need an iterable. You can also specify it in this format too ood_auth_openidc:
OIDCStateMaxNumberOfCookies: [10, true] |
Yes, as described at the end of the issue |
Some OIDC apache options are multi-valued, like
ood-ansible/molecule/default/vars/oidc_portal.yml
Line 27 in beb8571
It seems to me it is currently not possible to set such options via the ood_auth_openidc variable
results in
OIDCStateMaxNumberOfCookies '10 true'
in the apache config file, which will fail.results in a quoted list, also not correct.
The issue is that this approach
ood-ansible/templates/auth_openidc.conf.j2
Line 3 in beb8571
is not general enough here.
One could do the following (tested)
Now, the following will produce the correct result
An alternative would be to create a custom filter module
The text was updated successfully, but these errors were encountered: