Twinfield accounting connection

Hi there,
Has anyone managed to get an API-connection working with Twinfield Accounting?
The specifics are to get the Oauth2 token from the authentication part in the body of the request (which are actually SOAP).
Or more general stated: can we get access to the token that the Oauth2 Http Authentication delivered?

Thanks for your help!

HI @b.hoekman,

Thank you for your question.

It seems to achieve your goal. You can create two incomings with the following details:

  1. The first incoming takes the token and then stores it in storage.
  2. The second incoming is used to request data using SOAP. For the token needs, you can take it from the storage of the first incoming.

Thanks, yes I thought so too. Unfortunately we will not use the built-in Oauth2 authentication feature then… we see this quite often; not the best API designs on the opposite side which need these kind of ‘custom’ solutions.

Thanks for the feedback! I understand your concerns—sometimes custom solutions are necessary with less-than-ideal API designs. Let me know if you’d like to explore other authentication options that might work better for your needs.