mirror of
				https://github.com/gethomepage/homepage.git
				synced 2025-10-31 10:37:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			786 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			786 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: Authentik
 | |
| description: Authentik Widget Configuration
 | |
| ---
 | |
| 
 | |
| 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 under `Admin Portal` > `Directory` > `Tokens & App passwords`.
 | |
| Make sure to set Intent to "API Token".
 | |
| 
 | |
| 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)
 | |
| 
 | |
| Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.
 | |
| 
 | |
| ```yaml
 | |
| widget:
 | |
|   type: authentik
 | |
|   url: http://authentik.host.or.ip:port
 | |
|   key: api_token
 | |
| ```
 |