Ok, the response of the GET OF /openam/oauth2/realms/root/realms/OpenData/userinfo?
is : {“subname”:“XXXXXXXXXXXX”} that is my login in the authorisation login page below:
Also I have different code from your version, I try to put in this version your suggestions, also I think that: dbg_obj_princ (‘VAL.DBA.oauth_id_token (’, id, id_token, token, options ‘)’) must be dbg_obj_princ (‘VAL.DBA.oauth_id_token (’, id, id_token, token, options, ‘)’) [comma after options]
-- dbg_obj_princ ('VAL.DBA.oauth_id_token (', id, id_token, token, ')');
dbg_obj_princ ('VAL.DBA.oauth_id_token (', id, id_token, token, options, ')');
declare N integer;
declare tmp, params, data, jwks any;
declare nonce, returned_nonce, webid varchar;
serviceId := null;
if (not isnull (id_token))
{
jwks := VAL.DBA.oauth_id_token_keys (service, options);
if (isnull (jwks))
goto _userinfo;
data := OAUTH2.DBA.id_token_verify (id_token, jwks);
dbg_obj_princ(current_proc_name(), ', data: ', data);
if (not isnull (data))
.....
}
What you mean with “Virtuoso console output?” In Monitor->Log Viewer have no trace of the debug… You mean [#] isql localhost:1111 dba dba -D ?? How can I set the deug ?
Thanks.
Regards.