942 B
942 B
title, date, draft, tags, series
title | date | draft | tags | series | |||
---|---|---|---|---|---|---|---|
Difficult API | 2021-03-31 | true |
|
Last night I was working an oAuth 2 authentication for an API that we use at work. Actually, the whole thing should have been a simple feasibility study. The prerequisites for this were actually quite good:
- a well-documented API
- an oAuth 2 library that does most of the basic work for me
Well, so much for the theory. With the help of the library, it should all have been relatively easy. That was also what I kept thinking last night. "Everything is right, it has to work."
After 2 hours I got suspicious. I quickly tried the same thing via n8n, only to find out that I have the same problem here.
Then I did the cross-check again and communicated with the Github API both in my code and in n8n ... without any problems.
Unfortunately, that's the way it is sometimes.