inrupt / inrupt/solid-client-authn-js
Error 400 response "Mismatching redirect uri"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 77
- Forks
- 49
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 32
Description
Search terms you've used
Found https://github.com/inrupt/solid-client-authn-js/issues/2738 seems similar issue, but was supposed to be fixed
Impacted package
Which packages do you think might be impacted by the bug ?
- solid-client-authn-browser
- solid-client-authn-node
- solid-client-authn-core
- oidc-client-ext
- Other (please specify): ...
Bug description
The login process fails with a JSON error message and a 400 error code in the client network log
{"error":"invalid_request","error_description":"Mismatching redirect uri"}
To Reproduce
- Click on bookmark of https://timbl.com/..
- log in
- wait 24 hrs
- refresh
Expected result
Login works - see solidos page
Environment
Please run
npx envinfo --system --npmPackages --binaries --npmGlobalPackages --browsers
in your project folder and paste the output here:
System:
OS: macOS 13.3.1
CPU: (10) arm64 Apple M1 Max
Memory: 25.41 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.14.0 - /usr/local/bin/node
Yarn: yarn install v0.27.5
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 88.31s. - /usr/local/bin/yarn
npm: 8.19.3 - ~/src/github.com/solidos/solidos/workspaces/mashlib/node_modules/.bin/npm
Browsers:
Brave Browser: 97.1.34.81
Chrome: 112.0.5615.137
Firefox: 109.0.1
Safari: 16.4
npmPackages:
@babel/cli: ^7.19.3 => 7.19.3
@babel/core: ^7.20.2 => 7.20.2
@babel/plugin-transform-runtime: ^7.19.6 => 7.19.6
@babel/preset-env: ^7.20.2 => 7.20.2
@babel/preset-typescript: ^7.18.6 => 7.18.6
@typescript-eslint/eslint-plugin: ^5.43.0 => 5.43.0
@typescript-eslint/parser: ^5.43.0 => 5.43.0
babel-loader: ^8.3.0 => 8.3.0
bundlesize: ^0.18.1 => 0.18.1
copy-webpack-plugin: ^10.2.4 => 10.2.4
css-loader: ^6.7.2 => 6.7.2
eslint: ^8.27.0 => 8.27.0
file-loader: ^6.2.0 => 6.2.0
html-webpack-plugin: ^5.5.0 => 5.5.0
husky: ^7.0.4 => 7.0.4
lint-staged: ^12.5.0 => 12.5.0
mini-css-extract-plugin: ^2.7.0 => 2.7.0
node-polyfill-webpack-plugin: ^1.1.4 => 1.1.4
rdflib: ^2.2.21 => 2.2.30
solid-logic: ^2.1.2 => 3.0.3
solid-panes: ^3.5.28 => 3.5.28
solid-ui: ^2.4.24 => 2.4.27
typescript: ^4.8.2 => 4.8.2
url-loader: ^4.1.1 => 4.1.1
webpack: ^5.75.0 => 5.75.0
webpack-cli: ^4.10.0 => 4.10.0
webpack-dev-server: ^4.11.1 => 4.11.1
npmGlobalPackages:
@solid/cli: 0.1.0
@solid/community-server: 5.1.0
@typescript-eslint/eslint-plugin: 2.7.0
ajv: 6.10.0
babel-cli: 6.14.0
babel-preset-es2015: 6.14.0
browserify: 13.0.0
coffee-script: 1.8.0
corepack: 0.15.3
dat: 10.1.0
electron-packager: 14.0.6
eslint: 6.0.1
force-dedupe-git-modules: 0.3.0
http-server: 0.7.1
jpm: 1.0.7
jsdoc: 3.5.5
jshint: 2.6.0
mailparser: 0.2.31
markdown: 0.5.0
minifyify: 7.3.2
mocha: 3.1.2
n: 2.1.12
node-inspector: 1.0.0
nodeunit: 0.7.4
npm: 9.3.1
prettier-standard: 15.0.1
prettier: 1.19.1
rabel: 1.0.0
rdflib: 2.2.17
solid-auth-client: 2.1.0
solid-server: 3.2.0
solid-shell: 2.0.6
standard: 10.0.3
tape: 4.6.2
thelounge: 1.5.0
tinymce: 6.4.0
ts-lint: 4.5.1
tsc: 1.20150623.0
tslint-config-standard: 8.0.1
typescript: 3.5.2
webpack-cli: 2.1.2
webpack: 4.16.4
yarn: 0.27.5
$
Additional information
Running with CSS
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the solid-client-authn-browser package and reproduce the login flow from the bookmarked https://timbl.com/ page after the reported 24-hour wait. Trace the redirect URI handling around the 400 response, and consider the issue resolved when the login completes without the “Mismatching redirect uri” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100