OAuth custom headers in token request
Hi!
I'm trying to integrate Vipps authentication using the genericOAuth plugin. Vipps requires specific headers (like Merchant-Serial-Number, Ocp-Apim-Subscription-Key) to be sent with the token exchange request (when getting the access token).
I see the discoveryHeaders option, which is helpful, but I can't find a way to add headers specifically to the token request itself within the genericOAuth configuration.
Is there a way to achieve this currently with genericOAuth, or does anyone know of a recommended workaround for adding required headers to the token exchange step when using this plugin?
Thanks for any insights!
I'm trying to integrate Vipps authentication using the genericOAuth plugin. Vipps requires specific headers (like Merchant-Serial-Number, Ocp-Apim-Subscription-Key) to be sent with the token exchange request (when getting the access token).
I see the discoveryHeaders option, which is helpful, but I can't find a way to add headers specifically to the token request itself within the genericOAuth configuration.
Is there a way to achieve this currently with genericOAuth, or does anyone know of a recommended workaround for adding required headers to the token exchange step when using this plugin?
Thanks for any insights!
Manual integration with Login from a website.