Gateway exposes POST /auth/token accepting username+password, exchanges with Authentik via grant_type=password, returns JWT + refresh token.
POST /auth/token
grant_type=password
Code repo: rock/homelab-frontend — internal/proxy/auth_endpoints.go
rock/homelab-frontend
internal/proxy/auth_endpoints.go
{"username":"...","password":"...","scope":"..."}
{"access_token":"...","refresh_token":"...","expires_in":...,"token_type":"Bearer"}
auth.tokenUrl
auth.clientId
auth.clientSecret
No dependencies set.
The note is not visible to the blocked user.
Summary
Gateway exposes
POST /auth/tokenaccepting username+password, exchanges with Authentik viagrant_type=password, returns JWT + refresh token.Code repo:
rock/homelab-frontend—internal/proxy/auth_endpoints.goAcceptance Criteria
POST /auth/tokenaccepts{"username":"...","password":"...","scope":"..."}grant_type=password{"access_token":"...","refresh_token":"...","expires_in":...,"token_type":"Bearer"}auth.tokenUrl,auth.clientId,auth.clientSecretDepends on
Review checklist