-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OIDC client assertion is being rejected incorrectly #615
Comments
Is that what the CorpPass spec says? Does it work in production? I can't really find the CorpPass spec readily available but the SingPass spec https://stg-id.singpass.gov.sg/docs/authorization/api#_jwt_claims states the
The In general the specs only recommend that the From https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication.
Where
From https://datatracker.ietf.org/doc/html/rfc7523#section-3
|
Have not gone to production, but it works in staging (https://stg-id.corppass.gov.sg/mga/sps/oauth/oauth20/token). Unrelated, but this is the default for Nimbus JOSE + JWT SDK for Spring anyway and mockpass broke it, hence my issue. |
Corppass Authorization API Reference v1.3 section 5.1.2.1 states that the client assertion JWT claims must have
(sic, the later stg-d typo is literally there) If this is working in Corppass STG, then they either have an implementation issue or a documentation issue. |
The staging also returns data that isn't in the documentation / matched by mockpass such as uuid=UUID and u=String. I guess Ill have to bring all this up with the CP team for clarity. Actual (redacted) output from CP staging 'sub' response. Im also assuming that uuid is SP's "u". |
Using CP v2 OIDC results in Incorrect aud in client_assertion claims error when the aud is set correctly to the token endpoint.
The OIDC specs states the aud to be:
A value that identifies the party or parties intended to process
the assertion. The URL of the token endpoint, as defined in
[Section 3.2].
The text was updated successfully, but these errors were encountered: