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

"Mismatching redirect uri" error when using NSS to log into CSS #1729

Open
timbl opened this issue May 19, 2023 · 5 comments
Open

"Mismatching redirect uri" error when using NSS to log into CSS #1729

timbl opened this issue May 19, 2023 · 5 comments

Comments

@timbl
Copy link
Contributor

timbl commented May 19, 2023

I get page with

{"error":"invalid_request","error_description":"Mismatching redirect uri"}

and a URI of

https://inrupt.net/authorize?client_id=e09567c40614847dd3a348683a13666a&redirect_uri=https%3A%2F%2Ftimbl.com%2Ftimbl%2FAutomation%2Ftabbed.ttl%3Fstate%3D391e9862269246f8aad691e854a90155&response_type=code&scope=openid%20offline_access%20webid&state=71ff5784b4a34c87bd4fce74e4607b8c&code_challenge=vl89aeeof4eY30_2kBpvE1lwR6SQlEufQKOgmURoZDQ&code_challenge_method=S256&prompt=none&response_mode=query

when I try to use my NSS-based inrupt.net to log into timbl.com at

https://timbl.com/timbl/Automation/tabbed.ttl#this

I don't see any cookies for local storage in the Apps tab.

In the network tab, I see 400 response with the JSON body

{"error":"invalid_request","error_description":"Mismatching redirect uri"}

The same thibng happens if i try to load https://timbl.com/timbl/Automation/tabbed.ttl without the #this

@timbl
Copy link
Contributor Author

timbl commented May 19, 2023

I do not have the problem in an incognito browser tab.

@bourgeoa
Copy link
Member

@timea-solid updated inrupt.net 2 days ago to [email protected] this should resolve the issue
You must clean your browser first.

@mrkvon
Copy link

mrkvon commented Sep 16, 2023

I just received a report about this error from a person using our app with solidcommunity.net pod. So, it seems it can still appear occasionally.

Do you know what's causing it? Is there anything we can do (e.g. on app level) besides telling people to clear cookies & local storage, or to use browser's private mode?

Clearing local storage/cookies seems like too much to ask folks without technical background... 😕

Edit: maybe they used their Solid Pod for the first time since May, i can probably ask about that

@timea-solid
Copy link
Contributor

This issue is related to inrupt/solid-client-authn-js#2891 and fixed in inrupt/solid-client-authn-js v1.17.2 -> the SolidOS team needs to update it in solid-logic.

@timea-solid
Copy link
Contributor

This issue is related to inrupt/solid-client-authn-js#2891 and fixed in inrupt/solid-client-authn-js v1.17.2 -> the SolidOS team needs to update it in solid-logic.

mrkvon added a commit to solidcouch/solidcouch that referenced this issue Sep 18, 2023
mrkvon added a commit to solidcouch/solidcouch that referenced this issue Sep 18, 2023
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

4 participants