Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/blame/commit/67a9f4983c95782fb55fe6d9a6541574c134c17b/docs/widgets/services/authentik.md You should set ROOT_URL correctly, otherwise the web may not work correctly.
homepage/docs/widgets/services/authentik.md

26 lines
787 B

2 years ago
---
title: Authentik
description: Authentik Widget Configuration
---
Learn more about [Authentik](https://github.com/goauthentik/authentik).
2 years ago
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".
2 years ago
The account you made the API token for also needs the following **Assigned global permissions** in Authentik:
- authentik Core -> Can view User (Model: User)
- authentik Events -> Can view Event (Model: Event)
2 years ago
Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.
```yaml
widget:
type: authentik
url: http://authentik.host.or.ip:22070
key: api_token
2 years ago
```