I have created a custom data connector to an OData api. The API uses Oauth2 and the connector is configured to do that as well. It works from the power query SDk in visual studio, works from desktop. I now am deploying it on our power bi gataway, and the gateway is able to load it. I also successfully created a data source on the gateway that uses this connector. however, when i try to use it in a dataflow, i get the enter credentials dialog. it has selected to use the correct gateway, but when i click the sign in button i get the message below. I noticed also that when i click the sign in button here, i am directed to a different uri then i am in sdk or in desktop. Any help is appreciated.
My custom connector has a test connection method and I am able to add it to the gateway and the connection is successful there. It is just when i try to use it in a dataflow that i am getting the above issue.