- gin-gonic/gin
- jmoiron/sqlx
- cockroachdb/errors
- labstack/echo/v4
- gorm
- go-errors/errors
- Next.js
- tailwindcss
> docker compose exec database psql -U app auth
> insert into oauth2_clients (id, name, redirect_uris, created_at, updated_at) values ('550e8400-e29b-41d4-a716-446655440000', 'test client', 'http://localhost:8000/callback', now(), now());
> insert into oauth2_clients (id, name, redirect_uris, created_at, updated_at) values ('684C406F-D7CA-42B0-B7AC-E2120B48B057', 'test client', 'http://localhost:3000/callback', now(), now());
> insert into users (id, name, email, password, created_at, updated_at) values ('4E77D89C-F28E-4232-BAC0-4ABB31B94590', 'test user', '[email protected]', '$2a$10$LOzS79niq4E.hu8aib4GeuXVSII9OsYB.ReF/.BjqItfhaSnzWba6', now(), now());
email: [email protected]
password: mypassword1234!
mise run setup
mise run build
mise run test
mise run fmt
# Create a ED25519 SSH KEY
cd oauth2
go run lib/generate_key.go
touch .env.development
# Encryption
dotenvx encrypt -f .env.development
- mise
- valkey
- Ed25991 (JWT signature algorithm)