You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before using your http-connector we need first to be able to authenticate to an API provider with oauth2. Unfortunately the API Publishers didn't implement a standard way to retrieve an access token. Instead they developed their own api with the following form (see https://api.didomi.io/docs/#/sessions/post_sessions):
Our proposal is to bring additional configuration to configure the form field. For example we would have the following configuration to implement the oauth2 form described above:
@aprodhomme-dkt thanks for this proposal. I agree the current sender logic requires a refactor, and the proposed factory pattern fits very well IMO.
I do also agree that the customizing the field names is a good improvement. We are doing similar with the access token field by defining a custom property name oauth2.response.token.property.
Let's just be careful we are not breaking existing functionality and behavior. We can discuss this on the PRs specifically.
Hi,
Before using your http-connector we need first to be able to authenticate to an API provider with oauth2. Unfortunately the API Publishers didn't implement a standard way to retrieve an access token. Instead they developed their own api with the following form (see https://api.didomi.io/docs/#/sessions/post_sessions):
Our proposal is to bring additional configuration to configure the form field. For example we would have the following configuration to implement the oauth2 form described above:
We already have made a fork to implement this issue on our side as we need to move forward on our production schedule. For that 2 PRs were pushed:
Thank you
The text was updated successfully, but these errors were encountered: