Forum Discussion
Custom Authentication in Custom Data Connector
Hi nzimmerman ,
Maybe you can refer to this.
Authentication with a data source
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- nzimmerman5 years agoRegular Visitor
Hi Lionel,
unfortunately this doesn't do anything for me.
I'm trying to build the custom data connector in Visual Studio, not access the data via an existing data connector.
As I mentioned in my original post I can get access to the data already in Power BI/Excel, but to do so I have to use Anonymous authentication and hard code in the username and password. This is neither portable, nor safe when extending to other users.
What I need to be able to do is capture the username and password entered for the Basic authentication credentials and then pass them through a custom authentication procedure in the connector I am building.
While I have seen a number of ways of doing this via OAuth authentication, that is not an option in my case.