You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 2, 2022. It is now read-only.
This seems to be a consequence of PR #12 that I had pushed couple of days ago. There have been more than a few breaking changes in @solid/oidc-rp. However, roll back is not preferable either because the older crypto library is now deprecated.
I get the following error when trying to login with solid-auth-cli (there was no error with the previous version):
AssertionError [ERR_ASSERTION]: Missing scope parameter in authentication request
at ~\node_modules\@solid\oidc-rp\src\AuthenticationRequest.js:61:9
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async SolidClient.createSession (~\node_modules\@solid\cli\src\SolidClient.js:48:21)
at async SolidClient.login (~\@solid\cli\src\SolidClient.js:31:17)
at async Object.login (~\node_modules\solid-auth-cli\src\index.js:69:19) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: true,
operator: '=='
}
I am not sure if the bug itself is in solid-cli or in oidc-rp. defaults argument to RelyingParty class does not have a authenticate.scope property or defaults are not being deeply merged in the RelyingParty constructor. Either way the property is missing...