Skip to content

Commit d4b3d5b

Browse files
authored
Update HdpOAuthConnect.query.pq
1 parent 8217abb commit d4b3d5b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Use this file to write queries to test your data connector
2+
let
3+
// For OAuth
4+
// result = HdpOAuthConnect.Contents()
5+
6+
// For OIDC
7+
result = HdpOAuthConnect.Contents("OIDC", "<clientid>", "<clientsecret>", "api.odata.access",
8+
"https://dev-<instance>.okta.com/oauth2/default/v1/authorize",
9+
"https://dev-<instance>.okta.com/oauth2/default/v1/token",
10+
"https://oauth.powerbi.com/views/oauthredirect.html",
11+
"http://hdp.server.com:8080/api/odata4/Oracle", "okta")
12+
in
13+
result

0 commit comments

Comments
 (0)