Skip to content

Add URL shortener cookie auth endpoints#59

Merged
codeforester merged 1 commit into
mainfrom
enhancement/58-20260612-cookie-auth-http
Jun 12, 2026
Merged

Add URL shortener cookie auth endpoints#59
codeforester merged 1 commit into
mainfrom
enhancement/58-20260612-cookie-auth-http

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add cookie-backed signup, login, and logout HTTP endpoints for the URL shortener.
  • Add session lookup/touch support and app-layer CurrentUser resolution for future authenticated routes.
  • Extend OpenAPI and Hurl API smoke tests for the auth flow.

Validation

  • tests/validate.sh
  • git diff --check
  • git diff --cached --check
  • ruby -e 'require "yaml"; YAML.load_file("services/url-shortener/openapi.yaml")'
  • GOCACHE=/private/tmp/banyanlabs-go-cache CGO_ENABLED=0 go test ./... -count=1
  • GOCACHE=/private/tmp/banyanlabs-go-cache CGO_ENABLED=0 go build ./...
  • GOCACHE=/private/tmp/banyanlabs-go-cache CGO_ENABLED=0 go vet ./...
  • tests/api/run.sh

Note: mise run test was not used as branch evidence because this temporary worktree's .mise.toml is not trusted by mise; the equivalent underlying commands above were run directly from this worktree.

Fixes #58
References #27

@codeforester codeforester merged commit 4aca631 into main Jun 12, 2026
20 checks passed
@codeforester codeforester deleted the enhancement/58-20260612-cookie-auth-http branch June 12, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add URL shortener cookie auth HTTP endpoints

1 participant