Awesome
pocketbase-cookie-auth-demo
Disclaimer: You should use the PocketBase API methods with their powerful built-in authorization if you can. This demo exists for those edge cases where API methods are not an option (disabled JS).
The goal of this demo is to showcase a naive implementation of cookie based authentication flow for PocketBase https://pocketbase.io.
Demo
You can try it now at https://pocketbase-cookie-auth-demo.pockethost.io.
How to run
- Download binary from https://github.com/pocketbase/pocketbase/releases into the project root and make sure you can execute it.
- Run
PB_IS_LOCALHOST=true ./pocketbase serve
.