Add JWT + Google OAuth authentication #2

Closed
opened 2026-02-23 18:24:07 +00:00 by forgejo_admin · 0 comments

Goal

Integrate pal-e-auth shared package into pal-e-docs for user authentication.

Prerequisite

Scope

  • Add pal-e-auth to requirements.txt
  • Include auth router at /auth/
  • Public endpoints (GET /notes, /projects where is_public=true): no auth required
  • Write endpoints (POST/PUT/DELETE): require_role("admin")
  • Add pal-e-auth-secrets to k8s secrets

Depends on

  • pal-e-auth package scaffolded and tested
  • pal-e-docs service scaffolded
## Goal Integrate pal-e-auth shared package into pal-e-docs for user authentication. ## Prerequisite - forgejo_admin/pal-e-auth#1 (scaffold shared auth package) - forgejo_admin/pal-e-docs#1 (scaffold service) ## Scope - Add `pal-e-auth` to requirements.txt - Include auth router at `/auth/` - Public endpoints (GET /notes, /projects where is_public=true): no auth required - Write endpoints (POST/PUT/DELETE): `require_role("admin")` - Add `pal-e-auth-secrets` to k8s secrets ## Depends on - pal-e-auth package scaffolded and tested - pal-e-docs service scaffolded
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/pal-e-api#2
No description provided.