https://github.com/oliverbenns/go-auth
An experimental project to authenticate users in Go.
https://github.com/oliverbenns/go-auth
authentication bcrypt go-jwt golang jwt jwt-auth jwt-authentication jwt-token no-javascript no-js
Last synced: about 1 month ago
JSON representation
An experimental project to authenticate users in Go.
- Host: GitHub
- URL: https://github.com/oliverbenns/go-auth
- Owner: oliverbenns
- Created: 2019-11-13T06:24:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-19T10:34:39.000Z (over 5 years ago)
- Last Synced: 2024-12-06T21:50:49.272Z (6 months ago)
- Topics: authentication, bcrypt, go-jwt, golang, jwt, jwt-auth, jwt-authentication, jwt-token, no-javascript, no-js
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Auth
An experimental project to authenticate users in Go.
## Project Features/Notes
- It uses the bcrypt hashing algorithm for passwords.
- It uses cookie-based JWTs for user verification.
- It uses no Javascript at all.
- There is no server side validation for forms (like sign up).
- Error handling is pretty arbitrary.
- Test cases don't handle every case.
- Jwts & Cookies are not set to expire.## Running
- Setup: `go run setup/setup.go`
- Start server: ` go build app/*.go && ./app/command-line-arguments`
- Test: `go test ./app`