Forum Discussion
Add manually client id and client secret when using custom connector
Hi paocohe ,
1. Unfortunately, Power BI does not provide a built-in user interface for directly inputting client IDs and client secrets without altering the code. These values are typically stored in configuration files that are part of your application's codebase.
2. You may consider create parameters in Power BI Desktop that prompt users to enter their own client ID and client secret when connecting to the data source. This way, users can input their credentials directly in Power BI without modifying the connector code.
You can also pull back all the data first and then set the RLS according to the user.
Row-level security (RLS) with Power BI - Power BI | Microsoft Learn
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Thanks for the information.
I'm wondering if maybe i can achieve the expected result by somehow in the code make a call to a modal for the user to type the credentials, just like I have it right now with the url. Did you know if maybe I can do that?