Sign-in with Auth.js and Authentik; roles from groups #4
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #1
Blocked by: #2
What
Users sign in via Authentik (OIDC). See ADR-0009 and glossary terms Role, Viewer, Author, Admin, Guest.
Acceptance criteria
User(authSubjectunique, name, email, role, locale?, createdAt, lastLoginAt); upsert on sign-ingroupsclaim usingKATABA_ADMIN_GROUP/KATABA_AUTHOR_GROUP; signed-in without either group →viewerHuman prerequisite
An OIDC application/provider in Authentik with a
groupsclaim; the agent can work against env placeholders until then.Vocabulary:
GLOSSARY.md. Decisions:docs/adr/.