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

go-pkgz / auth / 251
84%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2019 12:39AM UTC
Jobs 1
Files 18
Run time 4s
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

15 Aug 2019 12:36AM UTC coverage: 85.418% (-0.5%) from 85.923%
251

push

travis-ci

umputun
Add support of custom oauth2 server (issue#11) (#29)

* custom server for go-oauth2/oauth2

* add method to get domain from service root URL

* set redirect url before token exchange

* add service method to start local go-oauth2/oauth2 server

* example to custom provider

* add warning message that domain from oauth2 client store shoud be the same as domain of redir url

* fix misspelling

* move handlers in separate methods

* allow user to pass login page template handler

* changed name of template

* add login page to provider initialization

* add example of usage user-defined template

* correct log messages

* add tests

* sanitize avatar url

* move custom provider example to example/main.go

* update go.mod

* add method to register custom provider

* add opts and helper funtion for custom provider

* cleanup added function (not used anymore)

* add example for custom provider

* fix errors after travis check

* corrections after golangci-lint check

* make UserData type public

* refactor custom provider

* refactor AddCustomProvider method

* update example

1482 of 1735 relevant lines covered (85.42%)

7.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 251.1 15 Aug 2019 12:39AM UTC 0
85.42
Travis Job 251.1
Source Files on build 251
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #251
  • 9487b422 on github
  • Prev Build on master (#240)
  • Next Build on master (#252)
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