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

Django HttpResponseRedirect security update breaks iOSFramework support #40

Open
Travers opened this issue Oct 19, 2012 · 1 comment
Open
Labels

Comments

@Travers
Copy link
Contributor

Travers commented Oct 19, 2012

To combat XSS, Django has altered HttpResponseRedirect to contain a list of allowed_schemes. Since we try to redirect to the indivo-framework scheme as part of our auth flow, this will now cause a SuspiciousOperation Exception to be raised in the patched versions of Django.

@p2
Copy link
Collaborator

p2 commented Oct 19, 2012

We can address that when updating the OAuth flow to match SMART 0.6: selecting a record is the correct callback link already, we don't need to go back to the UI server and do a redirect from there.

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

No branches or pull requests

2 participants