ADDITIONS
- oauth: Added
GET /oauth2/clients
to retrieve all OAuth2 client credentials for the authenticated user - build: support -log.format=json
BUG FIXES
- oauth: write header (flushes headers, etc)
- user: close sql.Stmt and avoid shadowing
- api: inline parameters to fix codegen crash
- pkg/oauthdb: add missing database/sql Rows.Close()
IMPROVEMENTS
- Automated releases via TravisCI
- Update to Go 1.12
BUG FIXES
- Fix memory leak in some SQlite queries.
BUG FIXES
- oauth: Update existing OAuth tokens rather than insert a duplicate row.
BUG FIXES
- In
/auth/check
short-circuit forwarded OPTIONS requests around cookie/OAuth checks. We already do this in/users/login
for CORS pre-flight requests which need '200 OK' returned.
CHANGES
- Removed buntdb in favor of sqlite for OAuth2 client and token storage.
BUG FIXES
- Switch to github.com/moov-io/base's
Time
type.
IMPROVEMENTS
- Better error handling in
main()
.
BUG FIXES
- oauth: Send back 403 HTTP status code on invalid tokens. (See: #61)
BUG FIXES
- oauth: properly associate token with user (See: #59)
BUG FIXES
- Fixed docker image to boot properly.
- Send down
application/json
content-type on OAuth authorize endpoint - Fixed
oauth2_token_generations
Prometheus metric
ADDITIONS
- Added
GET /auth/check
endpoint that looks at HTTP Cookies and OAuth - Added
PATCH /users/{userId}
for updating user profile information
BUG FIXES
- Check database
row.Scan
errors
IMPROVEMENTS
- Run as unprivileged user inside Docker container
- Return an empty JSON object (and content-type) for generated clients. (See go-client #5)
BUG FIXES
- Don't trample over Content-Type values when writing CORS headers
- Allow all our HTTP Methods with CORS requests
IMPROVEMENTS
- Respond with CORS headers for forward auth calls triggered from preflight requests.
ADDITIONS
- Add
oauth2_client_generations
metric - Added generic
OPTIONS
handler for CORS pre-flight
IMPROVEMENTS
- Write
X-User-Id
header onGET /users/login
. - Validate phone numbers on signup.
- Support
X-Request-Id
for request debugging/tracing. - Add HTTP method and path to tracing logs
- Return CORS headers if
Origin
is sent. - Render the
User
object onGET /users/login
BUG FIXES
- OAuth2 client credentials response was different than docs
IMPROVEMENTS
- Added
/ping
route.
BUG FIXES
- OAuth2 routes should have been prefixed as
/oauth2/
. - admin: fix pprof profiles (not all work)
INITIAL RELEASE
- HTTP Server with oauth, user/pass signup (and auth)
- Prometheus metrics and pprof setup