Join Slack
Powered by
Hi everyone, the authentication to my API is throu...
# replication-troubleshooting
m
Mario Beteta
12/14/2022, 6:55 PM
Hi everyone, the authentication to my API is through a POST call with a secret token and the token I get back is the one I have to use in the following calls. How can I do that with low code connector?
m
Marcos Marx (Airbyte)
12/15/2022, 7:29 PM
Did you try the
https://docs.airbyte.com/connector-development/config-based/understanding-the-yaml-file/authentication#oauth
? If it isn’t suitable to your use case you can build a custom auth to execute the logic you need.
m
Mario Beteta
12/16/2022, 2:46 PM
Yes, I try it, but it doesn't work. It returns "Exception: Error while refreshing access token: 'token'" Any example on how to do custom auth?
Mario Beteta
12/16/2022, 2:51 PM
This is my JSON response. Maybe is due to the JSON:
{
"success": true,
"data": {
"token":""
}
}
m
Marcos Marx (Airbyte)
12/16/2022, 5:10 PM
You can check custom components here:
https://docs.airbyte.com/connector-development/config-based/advanced-topics#custom-components
Open in Slack
Previous
Next