Summary
How to extract the token key for access_token from OAuth2 authorization response
Question
Hello everyone. I am trying to build a Low code CDK for one of the rest APIs that uses Oauth2 authorization. The response for authorization looks like the below. How can I grab the token key for access_token? I want to pass it in the Access Token Property Name in the low code cdk builder.
"status": 200,
"body": {
"success": true,
"data": {
"token": "randomized_token_value",
"expires_in": 86400,
"scope": "randomized_scope_value"
}
},
"headers": {
"Date": "randomized_date_value",
"Content-Type": "application/json",
"Content-Length": "randomized_content_length_value",
"Connection": "randomized_connection_value",
"vary": "randomized_vary_value",
"cache-control": "randomized_cache_control_value",
"pragma": "randomized_pragma_value",
"expires": "randomized_expires_value",
"x-content-type-options": "randomized_x_content_type_options_value",
"strict-transport-security": "randomized_strict_transport_security_value",
"x-frame-options": "randomized_x_frame_options_value",
"x-xss-protection": "randomized_x_xss_protection_value",
"referrer-policy": "randomized_referrer_policy_value",
"x-ratelimit-limit": "randomized_x_ratelimit_limit_value",
"x-ratelimit-remaining": "randomized_x_ratelimit_remaining_value"
}
}```
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1711489099802089) if you want
to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["oauth2-authorization", "access-token", "low-code-cdk", "token-key"]
</sub>