Use HTTP cookies to transfer auth data
This makes it easier to re-use the session after a while, and to implement a logout option (by just deleting the session)
Showing
- Makefile 1 addition, 1 deletionMakefile
- auth/auth.go 48 additions, 21 deletionsauth/auth.go
- auth/auth_test.go 112 additions, 0 deletionsauth/auth_test.go
- authprovider.go 197 additions, 19 deletionsauthprovider.go
- main.go 10 additions, 4 deletionsmain.go
- migrations/0001-initial.sql 2 additions, 2 deletionsmigrations/0001-initial.sql
- migrations/0002-session.sql 5 additions, 0 deletionsmigrations/0002-session.sql
- templates/auth.tpl 33 additions, 0 deletionstemplates/auth.tpl
Loading
Please register or sign in to comment