4.3.11 Ensure 'allowPublicClients' is set to 'false' in OAuth 2.0

Information

Public clients can be blocked to access OAuth applications for better control.

Blocking OAuth public clients prevents client IDs or client secrets from being exposed

Solution

Add the allowPublicClients attribute to the oauthProvider element to ${server.config.dir}/configDropins/overrides/*.xml and set it to false to block public clients.

<oauthProvider allowPublicClients="false" />

See Also

https://workbench.cisecurity.org/benchmarks/7724

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3

Plugin: Unix

Control ID: 554a4407d89ee1bf168b806944a9f5b2110bede2c0b01032470416be756741fe