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

supabase / auth / 8658928835
70%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2024 08:09AM CUT
Jobs 1
Files 115
Run time 1min
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

12 Apr 2024 08:04AM CUT coverage: 65.179% (+0.003%) from 65.176%
8658928835

push

github

web-flow
feat: refactor generate accesss token to take in request (#1531)

## What kind of change does this PR introduce?

In support of the use of HTTP Hook with Custom Access Token Extension
Point.

We need to take in a request in order to support the Custom Access Token
Hook. We use the request in the Custom access hook depends on the
request to fetch the global logger. We refactor `generateAccessToken`
and a wrapping method, `issueRefreshToken`, to take in a request to
support this.

We also add a dummy request to the tests to support this change.
Supports #1528 - branched out as a separate PR so as not to bloat the
main PR with peripheral changes.

13 of 15 new or added lines in 8 files covered. (86.67%)

8060 of 12366 relevant lines covered (65.18%)

59.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
4.31
0.0% internal/api/samlacs.go
1
0.0
0.0% internal/api/token_oidc.go
Jobs
ID Job ID Ran Files Coverage
1 8658928835.1 12 Apr 2024 08:09AM CUT 115
65.18
GitHub Action Run
Source Files on build 8658928835
  • Tree
  • List 115
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
internal/observability/cleanup.go28 13 0 13 0.0
0.0
internal/observability/logging.go101 65 0 65 0.0
0.0
internal/api/token_oidc.go239 169 0 169 0.0
0.0
internal/api/provider/spotify.go104 62 0 62 0.0
0.0
internal/api/listener.go46 29 0 29 0.0
0.0
internal/api/cleanup.go28 13 0 13 0.0
0.0
internal/api/provider/slack.go93 60 0 60 0.0
0.0
internal/api/provider/errors.go49 27 0 27 0.0
0.0
internal/api/provider/linkedin_oidc.go83 51 0 51 0.0
0.0
internal/observability/profiler.go85 60 0 60 0.0
Showing 1 to 10 of 115 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 12
  • Next
  • ►
    65.18
    internal/
  • Back to Repo
  • e4f2b59e on github
  • Prev Build on master (#8628290024)
  • Next Build on master (#8687255130)
  • Delete
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

© 2025 Coveralls, Inc