You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the OIDC auth implementation does not handle those attributes at all which means the oidc auth will fail when the idp uses custom CA. (custom == something not bundled in node itself).
For pure node clients one could use NODE_EXTRA_CA_CERTS to point to local CA bundle file with the idp CA in it. For us this does not work as we're building an Electron based app that does no allow one to extend the CA bundles at all. :(
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
And I don't think that the library supports custom Certificate Authorities.
It does. Any valid got or stdlib http option such as ca can be added per request or by default to all requests. The thing is this package requires version 2.5.0 which is by all means and purposes legacy. I'd recommend using ^3.14.1 and in doing so setting this package's engines.node to >= 10.13.0 to be in line with openid-client@3 requirements.
@panva can you give a code sample of how to pass that through? The last time I looked at the code path I didn't see a way to pass that through from the OIDC client interface in the library.
@brendandburns i'm not sure what you're asking. How to pipe those options through kubernetes-client? I have no idea, i just maintain openid-client and noticed kubernetes-client still uses an outdated version. I noticed this issue and your comment about something not being possible on the client's level, that particular customization is 100% possible on the latest release.
Activity
brendandburns commentedon Oct 31, 2019
We'd be happy to take a PR to add this support.
Thanks!
fejta-bot commentedon Jan 30, 2020
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
brendandburns commentedon Feb 1, 2020
/remove-lifecycle-stale
brendandburns commentedon Feb 7, 2020
fwiw, I looked into the oidc client library here:
https://github.com/panva/node-openid-client/blob/2dfa313f24bab351344932b7b1c67c9cab6031f8/lib/helpers/client.js
And I don't think that the library supports custom Certificate Authorities.
fejta-bot commentedon Mar 8, 2020
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
brendandburns commentedon Mar 8, 2020
/lifecycle frozen
panva commentedon Mar 26, 2020
It does. Any valid
gotor stdlib http option such ascacan be added per request or by default to all requests. The thing is this package requires version 2.5.0 which is by all means and purposes legacy. I'd recommend using^3.14.1and in doing so setting this package'sengines.nodeto>= 10.13.0to be in line withopenid-client@3requirements.brendandburns commentedon Mar 27, 2020
@panva can you give a code sample of how to pass that through? The last time I looked at the code path I didn't see a way to pass that through from the OIDC client interface in the library.
panva commentedon Mar 27, 2020
@brendandburns i'm not sure what you're asking. How to pipe those options through kubernetes-client? I have no idea, i just maintain
openid-clientand noticed kubernetes-client still uses an outdated version. I noticed this issue and your comment about something not being possible on the client's level, that particular customization is 100% possible on the latest release.