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

omniauth / omniauth_openid_connect / 9809320823 / 4
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2024 01:47PM UTC
Files 5
Run time 0s
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.4

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>

296 of 301 relevant lines covered (98.34%)

13.38 hits per line

Source Files on job ruby-2.7 - 9809320823.4
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9809320823
  • 23d4b13e on github
  • Prev Job for on master (#9800300171.3)
  • Next Job for on master (#10563016237.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