on 2024 Jan 02 12:13 PM
Hi Experts,
I have used charon before to achieve API integrations and now in our new requirement we must send an additional parameter called "audience" along with the clientId and clientSecret.
Currently the oauth token method in charon only allows 4 parameters as mentioned below
@OAuth(clientId = "...", clientSecret = "...", scope = "...", url = "...")
Hi ameena_m
Unfortunately, you cannot extend the capability of the OAuth functionality on the Charon client in SAP Commerce Cloud, to the best of my knowledge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @ameena_m for the query.
Thank you @adamreisberg for the clarifications.
It does seem unusual that Charon's OAuth2 (ConsumedOAuthCredential) doesn't support standard parameters like `username`, `password`, and `grant_type`. Using WebClient for integration is indeed a good approach. It would be beneficial if the SAP Commerce product team could extend Charon to support these standard parameters as well as custom ones. This would make the integration process smoother and more flexible for various use cases.
User | Count |
---|---|
12 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.