Forum Discussion
REST API Bearer Token security (3rd party developer)
- Anonymous1 year ago
Hi cwisoff ,
Thanks VahidDM for the detailed breakdown, that really cleared things up. The OAuth2 route definitely seems like the more secure way forward. For anyone else starting out, the most reliable docs are.
- Power Query SDK - Visual Studio Marketplace build a custom connector with OAuth2.
- The authentication API in Power BI custom visuals - Power BI | Microsoft Learn explains Desktop vs Service behavior.
- Handling authentication for Power Query connectors - Power Query | Microsoft Learn
The Crossjoin blog post OP found is also helpful, but Microsoft’s docs are the definitive source. Beginning with the SDK samples is usually the smoothest way to see how refresh tokens and automatic refresh work end-to-end.
Regards,
Akhil.
Hi cwisoff ,
Thanks VahidDM for the detailed breakdown, that really cleared things up. The OAuth2 route definitely seems like the more secure way forward. For anyone else starting out, the most reliable docs are.
- Power Query SDK - Visual Studio Marketplace build a custom connector with OAuth2.
- The authentication API in Power BI custom visuals - Power BI | Microsoft Learn explains Desktop vs Service behavior.
- Handling authentication for Power Query connectors - Power Query | Microsoft Learn
The Crossjoin blog post OP found is also helpful, but Microsoft’s docs are the definitive source. Beginning with the SDK samples is usually the smoothest way to see how refresh tokens and automatic refresh work end-to-end.
Regards,
Akhil.