Skip to content

Step CA not authenticating with LemonLDAP::NG OIDC for SSH certificate #624

Answered by maraino
danb35 asked this question in Q&A
Discussion options

You must be logged in to vote

The error that you see in the last line, ... cannot validate oidc token, only happens when step-ca cannot find any public key that validates the signature of the token. The keys are obtained from the endpoint of the property named jwks_uri; for example, in Google's OpenID configuration the keys are the ones at https://www.googleapis.com/oauth2/v3/certs

The JWT header that you can see using echo your-token | step crypto jwt inspect --insecure should have a property named kid with the key used to sign your token for example "kid": "b6f8d55da534ea91cb2cb00e1af4e8e0cdeca93d" matches the first key in https://www.googleapis.com/oauth2/v3/certs

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@danb35
Comment options

@maraino
Comment options

@danb35
Comment options

Answer selected by danb35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants