Hello I have an issue with my adhoc api connection...
# help-connector-development
v
Hello I have an issue with my adhoc api connection. I have to ask the end point X with my personal token (refresh token) in order to get the access token and send it to my final endpoint Y in the header. It doesnt work, so could you tell me where im wrong... Thank you!
j
Can you link to the documentation of the API you are integrating with? Just to make sure I correctly understand your use case
v
Authentication steps reminder 1. Send the persistent token given by your administrator at the following address : HTTP headers : authToken : yourToken https://xxxxt/v1/Auth 2. Catch the response containing the limited session life token 3. Send your requests with this temporary token. HTTP headers : token : temporaryToken eg: GET https://xxxx/rest/v1/VacationRequest?company=yourIdCompany
j
ah, I see. Unfortunately we don't support this style of authentication - the oauth authenticator will always send the token as
Authorization: Bearer <your token>
and it's not configurable
It would match this new planned authenticator though: https://github.com/airbytehq/airbyte/issues/26341
We plan to implement this in the mid-term, but unfortunately I can't give a definitive date just yet
I added your case to the issue to bump it in priority
v
thank you
j
One more question - the response returned from
/Auth
- is it a json object?
v
no it's a "string"