Showing results for 
Search instead for 
Did you mean: 
New Member

Custom REST API with oAuth2

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 (


New Member

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?

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (3,739)