From 0a2d7c6ffe62d8b6d97384e19085f426147f9cc6 Mon Sep 17 00:00:00 2001 From: Stepan Burlakov Date: Fri, 3 Nov 2023 14:25:02 +0200 Subject: [PATCH] update authentication --- docs/Guides/query-data/using-the-api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Guides/query-data/using-the-api.md b/docs/Guides/query-data/using-the-api.md index f61441a1..4c1890eb 100644 --- a/docs/Guides/query-data/using-the-api.md +++ b/docs/Guides/query-data/using-the-api.md @@ -29,11 +29,12 @@ to receive an authentication token: ```bash - curl --location --request POST 'https://id.app.firebolt.io/auth/v1/token' \ + curl --location --request POST 'https://id.app.firebolt.io/oauth/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'client_id=' \ --data-urlencode 'client_secret=' \ --data-urlencode 'grant_type=client_credentials' + --data-urlencode 'audience=https://api.firebolt.io' ``` where: