Support for client credentials in openidconnect

Created a app integration with OIDC-openid connect. Secured rest apis in web application. Now i have an externaltask in nodejs which needs client credentials flow where there is no chance for ui page or authorization flow. How can i add client credentials flow so that i can hit token endpoint using client credentials.In general tab of web app i could see clientcredntials flow is checked. When i hit token end point , getting 400 error with client is not authorized to use provided granttype (client_credentials).

You can use client credentials, but not from a browser. It’s expected to be used for machine-to-machine community. Here’s a Java example with Spring Security.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.