Enhance user metadata display with app and outpost information
All checks were successful
build-and-deploy / build (push) Successful in 50s
build-and-deploy / deploy (push) Successful in 3s

- Update AuthentikUser interface to include appSlug and outpostName
- Capture x-authentik-meta-app and x-authentik-meta-outpost headers
- Improve UserMetadata component to display connection information
- Filter empty groups from groups array
- Add documentation about available Authentik headers
This commit is contained in:
2025-10-13 03:20:05 -06:00
parent 1cba2f427e
commit 96fac68c6d
3 changed files with 42 additions and 2 deletions

View File

@@ -16,6 +16,12 @@ export default defineEventHandler((event) => {
}
}
// Log en consola del servidor para debugging
console.log('=== AUTHENTIK HEADERS ===')
console.log(JSON.stringify(authentikHeaders, null, 2))
console.log('=== ALL HEADERS ===')
console.log(JSON.stringify(allHeaders, null, 2))
return {
authentikHeaders,
allHeaders