Hi there
It's my first time, I am trying to set up a custom REST API.
My plan: I want to get some Events-Data from a Swiss Post REST API in my Power Apps Application, based on some Dataverse Tables.
Therefore I set up a custom connector with a Postman-File. Somehow, I have problmes with the authentication process. When I do the test, I can't login. I can't figure out, what the problem ist. Here are some information:
The setup of the Connector:
The security setup (Client id & Client secret I got from Swiss Post):
The actions setup. I will use the "GetEvents" method in my app:
Finally the test:
And the result of the test:
Something I did wrong with the security part. When I go back after testing to the security tab, the Client id, Client secret and the Refresh URL are gone:
Can someone give me a hint, what the problem could be?
Here are also the infos from Swiss Post about the REST API
Digital Commerce API (post.ch)
A little add-on to my question.
For the authentication process, Swiss Post wants on top of the OAuth2.0 genereal authentication also an Open-ID. In the documentation of Swiss Post they say:
The access to the Swiss Post connector and the e-commerce API is controlled by both OpenID-Connect protocol version 1.0 and OAuth authorization protocol version 2.0.
Is this possible with the custom connector options?
WarrenBelz
770
Most Valuable Professional
stampcoin
494
MS.Ragavendar
399