Yes for OAuth Client Credential Grant which is setup for that API, you would need client id and secret to get Token from Authorization Server (AD) which will be passed for that API to work
Can we ask the developer to provide clientId and secret for Oauth2 client credentials at the time of the API call
we want to give access to the client IDs and secrets at the time of the API call which will be added by the end-user for the oauth2 client credentials call.
Hello @kartik mittal - If I may ask, what's the motivation behind wanting to do this? If you're looking for single-factor authentication on the API calls, why not opt for Basic Authentication instead?
Sign in to comment
Sort by: Oldest
Hi @kartik mittal Thanks for reaching out. From the description I understand that you wanted to give access to client id and client secret at the time of API call. No this is not possible by using client id and secret you would be able to fetch the token using client credential flow and the token will be passed as a header while calling an API.
Please let me know incase of further queries, I would be happy to assist you.