Skip to content

Releases: levino/pocketbase-auth

@levino/pocketbase-auth@1.1.1

Choose a tag to compare

@levino-bot levino-bot released this 03 Dec 08:10
c6327c4

Patch Changes

  • 48552cc: Restore FAQ section to login page explaining OAuth-only authentication

@levino/pocketbase-auth@1.1.0

Choose a tag to compare

@levino-bot levino-bot released this 02 Dec 14:31
56b3263

Minor Changes

  • 94b33d4: Refactor to pure functions for edge runtime compatibility (Cloudflare Pages/Workers).

    • Export pure functions using Web Standard APIs (Request/Response)
    • handleAuthRequest - all-in-one handler for auth endpoints
    • createAuthMiddleware - middleware that returns Response or null
    • verifyAuth - low-level auth verification
    • handleCookieRequest - POST /api/cookie handler
    • handleLogoutRequest - POST /api/logout handler
    • generateLoginPageHtml / generateNotAMemberPageHtml - HTML generators

    Express/Docker code moved to app.ts (not published to npm).
    Only pocketbase is a runtime dependency.

v1.0.11

Choose a tag to compare

@levino-bot levino-bot released this 26 Sep 11:07
316beee

Patch Changes

  • c9f6e36: Add logout functionality with logout button and API endpoint

    • Added POST /api/logout endpoint that clears the authentication cookie and redirects to home page
    • Added logout button ("Ausloggen") to the not_a_member.html page for users who want to switch accounts
    • Users can now properly log out and clear their session when needed

v1.0.10

Choose a tag to compare

@levino-bot levino-bot released this 19 Sep 12:24
ec7771e

Patch Changes

  • f527671: Fix line breaks in HTML templates for better readability

v1.0.9

Choose a tag to compare

@levino-bot levino-bot released this 18 Sep 10:00
b1c3a9a

Patch Changes

  • 0d993f4: fix wrong route for logout

v1.0.8

Choose a tag to compare

@levino-bot levino-bot released this 18 Sep 09:49
49cbc1f

Patch Changes

  • simplify the code

v1.0.7

Choose a tag to compare

@levino-bot levino-bot released this 18 Sep 08:57
8228769

Patch Changes

v1.0.6

Choose a tag to compare

@levino-bot levino-bot released this 18 Sep 08:45
6fd26c4

Patch Changes

  • 423faa9: and another improvement for the build

v1.0.5

Choose a tag to compare

@levino-bot levino-bot released this 18 Sep 08:39
3815375

Patch Changes

  • 8c1ff52: fix the Dockerfile and some deps in order to be able to build.

v1.0.4

Choose a tag to compare

@levino-bot levino-bot released this 18 Sep 08:29
11ae60e

Patch Changes

  • 08dfdb7: Fix Docker build and optimize container image

    • Update Dockerfile to work with new root-level project structure
    • Exclude unnecessary development files from Docker context via .dockerignore
    • Update README.md to reflect current project structure
    • Use production-only dependencies in Docker image for smaller size