skip to Main Content

Flask-Dance facebook invalid redirect_url

I am using Flask-Dance for facebook login. Here is blueprint file from flask import redirect, url_for from flask_dance.contrib.facebook import make_facebook_blueprint, facebook facebook_bp = make_facebook_blueprint( redirect_url='http://api.domain.com/auth/social/facebook/authorized' ) @facebook_bp.route('') def index(): if not facebook.authorized: return redirect(url_for("facebook.login")) resp = facebook.get("/me") return resp.text And…

VIEW QUESTION
Back To Top
Search