Forum Discussion
Getting oauth token in template app
Hi Folks,
I am trying to create a report with datasource being an api which needs oauth token.
I am planning to publish this report as a template app in the appsource and that is when this app should ask for the some required parameters and ask for users org sign-in account get a token and than call the configured webapi with the token passed as header (typical auth rest api mechanism)
I want to know how can I get the oauthtoken in the report and refresh it?
Any pointers on this will be helpful.
Thanks
Tushar J
1 Reply
- RoRtmFrequent Visitor
Hi
Same here.
We wrote an API serving data via REST to a PowerBI Template App. The API currently implements OpenID Connect (OIDC) connected to a KeyCloak server. Our idea is to have this API secured by using the OAuth option while configure the data sourcen in our template app.
Couldn't find any documentation for such a scenario.
Thank you
Roman