Hi
I have a Power App that needs to fetch data from a 3rd party. Before I can run most of my queries, I need to first get a token from the API provider by passing in a username and a fixed token. This gives me back a token, good for fixed amount of time. Trying to work out how to accomplish this with a canvas app, I've done the following:
- Create a custom connector that uses no security. This gives me back a token from the 3rd party API provider
- Created a second custom connector that uses API key for security
When my canvas app first starts, I'm run my first connector, getting my token back. Now I need to pass that token to my second connector for additional queries. I can do this manually when designing the app, but can't ask the user to make same changes.
So, is it possible to change the API key used in the second connector at runtime? If so, how?
Tks