Hi Community! Maybe someone can help me out.
I need to connect to a custom app (personio) and they have a somehow strange behaviour for their API (see this /auth). It is no OAuth1/2 nor JWT. It is something in between or more like a normal API call.
First call goes to /auth Endpoint with client-id/secret. The Bearer token get’s returned in body. Ok …
Second call goes to all the other API Endpoints with the Bearer-token in header. The response header contains the next valid Bearer token, because the first one is now blacklisted.
So ie. for Search-Modules with paging the first page ie. works, the second load will fail with 401 error.
Is it possible in “Make.com”, that a single module will call/refresh the token that is persisted in the Connection? As I understand this is refreshed by creating the connection and then hold for several minutes/hours? So that on each Module-Call the Connection call is also executed.
Sure, what I did (and that works) is to leave the Connection part from app empty an just add a new Modules call it “Authentication” that returns a token that could be used in a second module. Each time you call a Module, you need to provide a new an fresh token. That is ugly and paging is still not supported.
Maybe I missed something in the documentation but I never had a problem like this.