OAuth 2.0 code grant authentication
I am currently using OAuth 2.0 code grant authentication to connect to external system. I am able to generate token as pass it as an authorization header to the external system. But the problem is I am using connected system to get the access token but after the successful authentication i am getting id_token and access_token in the response. I am supposed to pass id_token as an authorization header but access_token is being sent as authorization header.
Help is appreciated. I am looking for any of the solution below or new option
1- How to extract connected system response into a variable?
2- Without using connected system how to generate OAuth2.0 token with Grant type as "Authorization Code".
3- How can I tell the connected system to pass id_token as a header rather than access_token?
