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

18F / hub / 1456 / 1
78%
18f-pages-internal: 78%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 18f-pages-internal
Ran 20 Jun 2015 10:58PM UTC
Files 33
Run time 2s
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

20 Jun 2015 10:56PM UTC coverage: 78.231%. Remained the same
2.1.5

push

travis-ci

mbland
Fix nginx config; make 403 page style standalone

The previous changes in #323 didn't actually do the trick, as the 403 is
coming from the oauth2_proxy, not directly from nginx. This change allows the
auth.18f.gov virtual server to intercept the 403 from oauth2_proxy during
the sign-in process, after the user has successfully logged into MyUSA but
using an account that isn't authorized to access the Hub.

The `auth.conf` config uses a Server-Side Include to serve a 403 page with a
custom link. This custom link allows the user to automatically log out of
MyUSA, and will also redirect to the intended URL once the user has logged
back in using the correct account. By changing the Hub's application URL in
MyUSA to https://auth.18f.gov/, this configuration works for all 18F
properties authenticated using the Hub's oauth2_proxy (including
https://tock.18f.gov/ and https://pages-staging.18f.gov/).

Since an unauthenticated user will not be able to load scrips and stylesheets,
there is a new http_error layout that cuts most of these things and inlines
the minimum styles necessary to maintain a consistent look (error.scss).

Also adds a helpful link to check the veracity of the Shaxper quote.

690 of 882 relevant lines covered (78.23%)

3.91 hits per line

Source Files on job 1456.1 (2.1.5)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1456
  • Travis Job 1456.1
  • 65b842be on github
  • Prev Job for 2.1.5 on better-403 (#1452.1)
  • Next Job for 2.1.5 on better-403 (#1458.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