flask-oauth
flask-oauth copied to clipboard
Authorization URL customization
This enables library users to pass extra parameters (as extra_params) that will be added to redirected URL to OAuthRemoteApp's authorize method.
This is usefull for facebook if you want to show non-default page layout - like the display parameter (see https://developers.facebook.com/docs/reference/dialogs/)
I've seen the https://github.com/mitsuhiko/flask-oauth/pull/15 request but I don't think putting extra params into callback_url is a good solution, this is much cleaner IMHO.