jgorset/fandjango — Issue #54: Post-authorization redirect
Author: mbaechtold
Created: 2012-03-05 10:28:38+00:00
State: open

The parameter `redirect_uri` in https://github.com/jgorset/fandjango/blob/master/fandjango/decorators.py#L14 seems not being used anymore.

This causes me some hard times because of the following:

- In the settings of the facebook app, I point the cavas url to http://mydomain.tld/facebookapp/

- After the user has authorized the app, he has to be redirect to http://apps.facebook.com/FACEBOOK_APPLICATION_NAMESPACE/

- Because of the use of `path` in `get_post_authorization_redirect_url(request)` he'll be redirect to http://apps.facebook.com/FACEBOOK_APPLICATION_NAMESPACE/facebookapp/ instead which results in http://example.tld/facebookapp/FACEBOOK_APPLICATION_NAMESPACE/ being called

- This url pattern does not exist