OAuth integration fails with new (spurious) JSON-related error

Description

Bridge's integration test of Synapse as an OAuth provider broke in the last 24 hours. When submitting the following JSON to retrieve the user's ID (via https://repo-prod.prod.sagebase.org/auth/v1/oauth2/consent):

{"clientId":"100018","scope":"openid","responseType":"code","redirectUri":"https://research.sagebridge.org","claims":{"id_token":{"userid":null}}}

We get back the following 400 message:

{"reason":"org.sagebionetworks.schema.adapter.JSONObjectAdapterException: org.json.JSONException: JSONObject[\"claims\"] is not a JSONObject.; nested exception is org.sagebionetworks.schema.adapter.JSONObjectAdapterException: org.sagebionetworks.schema.adapter.JSONObjectAdapterException: org.json.JSONException: JSONObject[\"claims\"] is not a JSONObject."}

This seems to be the correct JSON however.

Environment

None

Assignee

Alx Dark

Reporter

Alx Dark

Labels

None

Validator

Dwayne Jeng

Development Area

None

Release Version History

None

Priority

Critical
Configure