• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mxschmitt / golang-url-shortener / 352 / 1
17%
master: 17%

Build:
DEFAULT BRANCH: master
Ran 08 May 2018 06:39PM UTC
Files 14
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2018 06:34PM UTC coverage: 36.545% (-1.4%) from 37.905%
352.1

push

travis-ci

mxschmitt
support using an identity-aware proxy for auth (#101)

Rather than directly fetching and verifying OAuth assertions, assume
that the app is running behind an authenticating proxy, and trust
headers that are set by the proxy.

- add config support for an "authbackend" directive, supporting either
  "oauth" or "proxy" as values; the "proxy" setting selects our new codepath
- add initProxyAuth and proxyAuthMiddleware methods to the Handler struct
- rename authMiddleWare to oAuthMiddleware in the Handler struct
- construct a faked auth.JWTClaims object when in proxy mode
- update Handler.handleAuthCheck() to return useful info in proxy mode
- add a fallback user icon for proxy mode
- implement check for proxy mode in index.js

See for example and reference:

https://cloud.google.com/iap/docs/identity-howto
https://cloud.google.com/beyondcorp/

421 of 1152 relevant lines covered (36.55%)

4.67 hits per line

Source Files on job 352.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 261
  • Travis Job 352.1
  • f8086c74 on github
  • Prev Job for on master (#349.1)
  • Next Job for on master (#354.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc