KEYCLOAK-545 Stop NPE if no client_secret is specified or bearer-only application is used for grants/access