From 8e028c2febe85dd1c27d37fd1811adf891801419 Mon Sep 17 00:00:00 2001 From: Bhautik <76986554+Bhautik0110@users.noreply.github.com> Date: Wed, 23 Mar 2022 19:37:09 +0530 Subject: [PATCH] website/docs: added missing client_id in client_credential grant type (#2576) --- website/docs/providers/oauth2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/providers/oauth2.md b/website/docs/providers/oauth2.md index 15c537d07..e50651e7f 100644 --- a/website/docs/providers/oauth2.md +++ b/website/docs/providers/oauth2.md @@ -53,7 +53,7 @@ POST /application/o/token/ HTTP/1.1 Host: authentik.company Content-Type: application/x-www-form-urlencoded -grant_type=client_credentials&username=my-service-account&password=my-token +grant_type=client_credentials&username=my-service-account&password=my-token&client_id=application_client_id ``` This will return a JSON response with an `access_token`, which is a signed JWT token. This token can be sent along requests to other hosts, which can then validate the JWT based on the signing key configured in authentik.