Ran
|
Files
5
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
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
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|