homepage/docs/widgets/services/authentik.md

28 lines
742 B
Markdown
Raw Normal View History

2023-09-29 21:01:11 +03:00
---
title: Authentik
description: Authentik Widget Configuration
---
2024-01-24 14:27:47 -08:00
Learn more about [Authentik](https://github.com/goauthentik/authentik).
2023-09-29 21:01:11 +03:00
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 under `Admin Portal` > `Directory` > `Tokens & App passwords`.
Make sure to set Intent to "API Token".
2023-09-29 21:01:11 +03:00
The account you made the API token for also needs the following **Assigned global permissions** in Authentik:
- authentik Core
- User
- authentik Events
- Event
2023-09-29 21:01:11 +03:00
Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.
```yaml
widget:
type: authentik
url: http://authentik.host.or.ip:22070
key: api_token
2023-09-29 21:01:11 +03:00
```