odcs - Require a valid oidc user for POST PATCH PUT and DELETE.
This commit is contained in:
parent
b182ecdbda
commit
fa246a7a86
1 changed files with 9 additions and 1 deletions
|
@ -36,8 +36,16 @@ OIDCOAuthIntrospectionEndpointParams token_type_hint=Bearer
|
|||
{{ 'Require ip ' ~ odcs_allowed_hosts|join(' ') }}
|
||||
{% endif %}
|
||||
</RequireAny>
|
||||
{% endif %}
|
||||
Require all granted
|
||||
{% else %}
|
||||
AuthType openid-connect
|
||||
<Limit GET HEAD OPTIONS>
|
||||
Require all granted
|
||||
</Limit>
|
||||
<Limit POST PATCH PUT DELETE>
|
||||
Require valid-user
|
||||
</Limit>
|
||||
{% endif %}
|
||||
</RequireAll>
|
||||
</Directory>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue