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

bug: callback query string is appended after hash #251

Open
tennox opened this issue Nov 27, 2023 · 2 comments
Open

bug: callback query string is appended after hash #251

tennox opened this issue Nov 27, 2023 · 2 comments

Comments

@tennox
Copy link

tennox commented Nov 27, 2023

I crafted a PR to a oidc-client lib to support parsing the URLs format that this plugin returns:

http://foo/#/bar?cod=param1&state=123

but got the reply that it's actually a bug in my Identity provider (this plugin), and correct would be:

http://foo/?cod=param1&state=123#/bar

and checked other resources to confirm that this is the correct way.

According to #182 - I shall craft a PR myself, but opened this issue to give a heads-up and to ask for feedback :)

@tennox tennox changed the title bug: Callback query string is appended after hash bug: callback query string is appended after hash Nov 27, 2023
@azmeuk
Copy link
Collaborator

azmeuk commented Nov 27, 2023

Hi @tennox
Sure please open a PR, though I wonder if this will be on the side of nextcloud-oidc-login or the underlying OpenIDConnect-PHP.

@pulsejet
Copy link
Owner

Yeah, I'm inclined to think the bug is either in the OIDC library or your IdP itself, depending on when this happens. I don't remember us constructing any URLs (if we do, maybe that can be removed?)

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

3 participants