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

generates invalid auth login URLs #136

Open
hmoffatt opened this issue Jun 17, 2024 · 0 comments · May be fixed by #137
Open

generates invalid auth login URLs #136

hmoffatt opened this issue Jun 17, 2024 · 0 comments · May be fixed by #137

Comments

@hmoffatt
Copy link
Contributor

In oidc_login.py the auth URL is generated by appending the parameters to the auth URL,

        auth_login_return_url = auth_login_url + "?" + urlencode(auth_params)

but if the auth URL already contains ? then this generates an invalid URL.

The tool consumer https://wordpress.org/support/plugin/lti-platform/ uses an auth URL that is https://domainname.com/?lti-platform&auth so the generated URLs are invalid for this consumer.

@hmoffatt hmoffatt linked a pull request Jun 18, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant