Repository navigation
Description
Short Summary of the Bug
Nine small defects found while running the Go beta API matrix. None is individually severe; they are grouped here as one tracking issue because each is a one-line fix in a different place. Each item below is independently reproducible.
Steps to Reproduce
Environment for all items: eSignet Go (Thunder beta) — provider https://esignet-go.esqa.mosip.net, Mock Identity, UIN 22222222222 / OTP 111111.
- Duplicate
userClaimsaccepted —POST /client-mgmt/clientwith"userClaims": ["name","name"]. request_urilifetime is 3600 s —POST /oauth2/parand readexpires_in.redirect_urioptional at PAR —POST /oauth2/paromittingredirect_urientirely.relyingPartyIdnot checked — register a client with"relyingPartyId": "no-such-rp".GET /client-mgmt/client/{id}returns almost nothing — register a client, then read it back.birthdateformat — complete a login and readbirthdatefromGET /oauth2/userinfo.- Inconsistent code invalidation — obtain a code, fail the exchange once with a wrong
code_verifier, retry with the correct one; separately, fail an exchange with a bad DPoP proof and retry cleanly. - Empty KBI inputs reach the executor — on the KBI node submit blank
username,fullName,dob. captcha_tokenvalue not verified — on the OTP login-ID node submitcaptcha_token: "wrong-value-123".
Actual Result
200 ACTIVE— accepted. Every other list field (redirect URIs, ACRs, grant types, auth methods, scopes) is de-duplicated;validateClaimshas no uniqueness check.expires_in: 3600.201— accepted with noredirect_uriat all.200 ACTIVE— no referential check against known relying parties.200but the body carries onlyclientIdandstatus; redirect URIs, claims, ACRs andadditionalConfigcannot be read back."birthdate": "1987/11/25".- The PKCE failure burns the authorization code (retry →
invalid_grant), but a DPoP-proof failure leaves it usable (retry →200with a token). FET-1005 invalid_credentialsrather than a required-field prompt — unlike the OTP node, which correctly re-prompts for a missingcaptcha_token.- The flow advances to the OTP node — the token's presence is required but its value is not validated.
Expected Result
- Reject duplicates with
invalid_claim, consistent with every other list field. - RFC 9126 §2.2 expects a short-lived
request_uri; FAPI 2.0 deployments typically use 60–90 s. - FAPI 2.0 §5.3.1 requires the client to send
redirect_uriand the AS to require it. relyingPartyIdis validated against existing relying parties / OUs.- The read endpoint returns the stored configuration so a caller can verify an update.
- OIDC Core requires
YYYY-MM-DD—1987-11-25. - Code invalidation on a failed exchange is consistent across failure types.
- Blank required inputs are caught as field validation, matching the OTP node's behaviour.
captcha_tokenis validated against the configured captcha service (MOSIP_ESIGNET_CAPTCHA_VALIDATOR_URL). Note: item 9 may be intentional configuration for this environment — please confirm the intended posture rather than treating it as a code defect.
Screenshot/Screen Recording
Not applicable — API-level items; the transcripts above are the evidence.
Attachments / Evidence / Links
- Related test cases in the Go beta verification sheet: GO-API-0695 (item 1), GO-API-0671/0672 (item 2), GO-API-0700 (item 3), GO-API-0679/0680 (item 5), GO-API-0677/0678 (item 7), GO-API-0687 (item 8), GO-API-0688 (item 9).
- Verified on Mock Identity. Items 1–7 are in client-mgmt, PAR, token and userinfo, which do not depend on the identity plugin, so they apply to the MOSIP Identity and Sunbird Identity deployments as well. Item 8 concerns the Sunbird KBI executor specifically and was exercised only through its zero-match path on this deployment. Item 9 depends on the captcha configuration of each environment. Only the Mock instance was exercised for this report.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Low
End Date
None yet
Severity
MINOR
Complexity
MEDIUM
Start Date
None yet
Original Estimate
None yet
Time Tracking
None yet
Resolved By
None yet
Story Points
2
Activity
anushasunkada commentedon Oct 7, 2026
We don't need to address 4,5,6 points.
Md-Humair-KK commentedon Oct 22, 2026
Bugs 1,2,8 and 9 are fixed on eSignet side. PR - #2745
The bugs 3 and 7 probably requires changes in par/service.go and token/service.go files on thunderid side.
@anushasunkada , @rachik-hue - Do we need to create a ticket for this and assign to thunderid team or we will fix and create a PR for this. Please confirm
rachik-hue commentedon Oct 26, 2026
The PR is raised and is in review with team, post team review has to be taken up by @anushasunkada for final review and merge. hence moving this to next sprint.
cc @anushasunkada @vadherhemant