Closed MarcosTobias closed 3 years ago
It looks like this is a new problem related with the library I'm using, so I will close the issue.
The creator was able to recreate the error, and is working on it, see: https://github.com/inrupt/solid-client-authn-js/issues/1285
I was testing the application, and came across the following error. I also posted it on the inrupt blog but perhaps any of you may know what is going on.
I use the generate-oidc-token library to get the refreshToken clientId, clientSecret and oidcIssuer for connecting to the pod with read-write permissions.
Then I use solid-node-client for creating the session. It works fine the first time, but any tries after that gives the following exception:
The code for creating the session is: (I changed the hashes for security reasons)
And proof that the first time works correctly:
Links to the libraries mentioned: https://github.com/solid/solid-node-client https://github.com/inrupt/generate-oidc-token