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

mxschmitt / golang-url-shortener / 352
17%

Build:
DEFAULT BRANCH: master
Ran 08 May 2018 06:39PM UTC
Jobs 1
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

pending completion
352

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/

83 of 83 new or added lines in 2 files covered. (100.0%)

421 of 1152 relevant lines covered (36.55%)

4.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 352.1 08 May 2018 06:39PM UTC 0
36.55
Travis Job 352.1
Source Files on build 352
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #352
  • f8086c74 on github
  • Prev Build on master (#349)
  • Next Build on master (#354)
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