The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello I would like to get value from contens (url) and I would like to use it for oauth2, I cant find the way how can I pass the value from input window and pass it to the OAuth2 flow or put it to the global variable.
I follow the manual https://docs.microsoft.com/en-us/power-query/creatingfirstconnector
from here
I need my url for my TripPinNavTable and OAuth2
shared TripPin.Contents= Value.ReplaceType(TripPinNavTable, type function (url as text) as any);
//OAuth2 values
client_id = "asdfgg98765sad4f35";
redirect_uri = "https://oauth.powerbi.com/views/oauthredirect.html";
token_uri = TripPin.Contents[url]&"/identity/connect/token";
authorize_uri = TripPin.Contents[url]&"/identity/connect/authorize";
logout_uri = "https://login.microsoftonline.com/logout.srf";
client_Secret = "123456789asdf";
Hi @Anonymous
Well this is beyond my knowledge. The resources I found online are all specifying a fixed url in the OAuth2 code. As users may enter different URLs in the connector, will it be possible that the token_uri and authorize_uri have different suffixes for different URLs?
Best Regards,
Community Support Team _ Jing