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

omniauth / omniauth_openid_connect / 9809320823
98%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2024 01:47PM UTC
Jobs 5
Files 5
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

05 Jul 2024 01:46PM UTC coverage: 98.339% (+0.01%) from 98.328%
9809320823

push

github

web-flow
Add `audience` to the `client_options` (#179)

* Add `audience` to the `client_options`

I've come across an issue where the `identifier` wasn't equal to the `audience` in the token.
This resulted in verification errors because currently it will verify the `aud` against the `identifier` if no `audience` is specified.

In this PR, I introduced the `audience` as `client_options` and will pass this along in the `verify!` of the `decoded_id_token` so the openid_connect gem [can handle the expected audience](https://github.com/nov/openid_connect/blob/e1eb8ea96/lib/openid_connect/response_object/id_token.rb#L30-L32)

* Only pass along `audience` if it is specified

* Update README.md

Co-authored-by: Roger Meier <r.meier@siemens.com>

---------

Co-authored-by: Roger Meier <r.meier@siemens.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

296 of 301 relevant lines covered (98.34%)

66.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ruby-3.1 - 9809320823.1 05 Jul 2024 01:47PM UTC 5
98.34
GitHub Action Run
2 ruby-3.3 - 9809320823.2 05 Jul 2024 01:47PM UTC 5
98.34
GitHub Action Run
3 ruby-3.2 - 9809320823.3 05 Jul 2024 01:47PM UTC 5
98.34
GitHub Action Run
4 ruby-2.7 - 9809320823.4 05 Jul 2024 01:47PM UTC 5
98.34
GitHub Action Run
5 ruby-3.0 - 9809320823.5 05 Jul 2024 01:47PM UTC 5
98.34
GitHub Action Run
Source Files on build 9809320823
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 23d4b13e on github
  • Prev Build on master (#9800300171)
  • Next Build on master (#10563016237)
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