Forum Discussion
Anonymous
5 years agoNot applicable
Custom Connector OAuth2 use WebView2?
My company uses a custom connector to consume an API for one of our services that requires OAuth 2 for authentication. This service's login page doesn't support Internet Explorer and only works with...
Anonymous
4 years agoNot applicable
I was able to come up with a workaround that isn't the greatest.
Basically:
Install mitmproxy
set my workstation to use that proxy
Intercept requests to the api's domain
Login with the auth page in my browser, capture the response with the auth token.
start logging in with power bi, instead of returning the auth page response, replace it with the response from the browser.
That got me logged in and working for now, and should keep the token refreshed as long as I open the report regularly...
Still looking for a proper fix if anyone has one.