Skip to content

Demo of cookie based authentication flow for PocketBase.

License

Notifications You must be signed in to change notification settings

davidbarton/pocketbase-cookie-auth-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pocketbase-cookie-auth-demo

Deploy website

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

  1. Download binary from https://github.com/pocketbase/pocketbase/releases into the project root and make sure you can execute it.
  2. Run PB_IS_LOCALHOST=true ./pocketbase serve.

About

Demo of cookie based authentication flow for PocketBase.

Resources

License

Stars

Watchers

Forks