rdflib.js icon indicating copy to clipboard operation
rdflib.js copied to clipboard

Logging into inrupt.net gives "" alert and fails

Open timbl opened this issue 1 year ago • 5 comments

I try to log into inrupt.net with my inrupt.net id and I get an alert Subject is not a subject type

Looking at the code which throws it it it seems to be the code which adds and "outOfDate triple to the store, `` kb.add(response, this.ns.link('outOfDate'), true as any, meta)

suggesting `response` is nill 

timbl avatar Feb 27 '24 21:02 timbl

Screenshot 2024-02-27 at 21 19 01

timbl avatar Feb 27 '24 21:02 timbl

Looks like the test for undefined should (also?) test for null at https://github.com/linkeddata/rdflib.js/blob/main/src/update-manager.ts#L98

timbl avatar Feb 27 '24 21:02 timbl

I am getting the same error when logging out

angelo-v avatar Mar 03 '24 19:03 angelo-v

I am only experiencing it in Chrome, where I got some new CORS issues. The response might be null due to CORS blocking.

angelo-v avatar Mar 03 '24 19:03 angelo-v

I only got this issue with webID URL with fragment. Is it your case ?

bourgeoa avatar Mar 03 '24 21:03 bourgeoa