Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid response mode #10

Open
michielbdejong opened this issue Sep 28, 2020 · 2 comments
Open

Error: Invalid response mode #10

michielbdejong opened this issue Sep 28, 2020 · 2 comments

Comments

@michielbdejong
Copy link
Contributor

loopy:gitter-solid michiel$ SOLID_IDP=https://solid.community SOLID_USERNAME=solid-auth-cli-test-user SOLID_PASSWORD=123 node gitter-solid.js init solid/test-suite
Target roomm name: solid/test-suite
Logging into gitter ...
You are logged into gitter as: michielbdejong
rooms 78
Target room found: solid/test-suite
targetRoomName 1 solid/test-suite
targetRoomName 2 "solid/test-suite"
@@@@@@ undefined
Single room selected: solid/test-suite
Rooms to do: 1
Log into solid
(node:2086) UnhandledPromiseRejectionWarning: Error: Invalid response mode
    at validateResponseMode (/Users/michiel/gh/solid/gitter-solid/node_modules/@trust/oidc-rp/lib/AuthenticationResponse.js:183:15)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async SolidClient.createSession (/Users/michiel/gh/solid/gitter-solid/node_modules/@solid/cli/src/SolidClient.js:53:21)
    at async SolidClient.login (/Users/michiel/gh/solid/gitter-solid/node_modules/@solid/cli/src/SolidClient.js:31:17)
    at async Object.login (/Users/michiel/gh/solid/gitter-solid/node_modules/solid-auth-cli/src/index.js:69:19)
    at async loadConfig (/Users/michiel/gh/solid/gitter-solid/gitter-solid.js:619:17)
    at async go (/Users/michiel/gh/solid/gitter-solid/gitter-solid.js:787:18)
(node:2086) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2086) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@michielbdejong
Copy link
Contributor Author

This is most likely an issue with solid-auth-cli, investigating.

@michielbdejong
Copy link
Contributor Author

I'll see if i can fix this using solid-auth-fetcher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant