From 4fe4ae9622f1ff5364775eaae1274cf82e848d88 Mon Sep 17 00:00:00 2001 From: ThorTheStorm Date: Thu, 28 Mar 2024 15:51:07 +0100 Subject: [PATCH] Documentation: Update authentik api key info (#3195) --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- docs/widgets/services/authentik.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/widgets/services/authentik.md b/docs/widgets/services/authentik.md index 3b84009fc..a92b84ec3 100644 --- a/docs/widgets/services/authentik.md +++ b/docs/widgets/services/authentik.md @@ -7,14 +7,15 @@ Learn more about [Authentik](https://github.com/goauthentik/authentik). This widget reads the number of active users in the system, as well as logins for the last 24 hours. -You will need to generate an API token for an existing user. To do so follow these steps: +You will need to generate an API token for an existing user under `Admin Portal` > `Directory` > `Tokens & App passwords`. +Make sure to set Intent to "API Token". -1. Navigate to the Authentik Admin Portal -2. Expand Directory, the click Tokens & App passwords -3. Click the Create button -4. Fill out the dialog making sure to set Intent to API Token -5. Click the Create button on the dialog -6. Click the copy button on the far right of the newly created API Token +The account you made the API token for also needs the following **Assigned global permissions** in Authentik: + +- authentik Core + - User +- authentik Events + - Event Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.