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" />