title: Django allauth - set facebook redirect
body: <p>In my app I have a "?next" param so when a user logs in they will be redirected to where they came from. example www.mysite.com/login/?next=www.mysite.com/some-section/</p>
  
  <p>I am using <a href="https://github.com/pennersr/django-allauth" rel="nofollow">django-allauth</a> for Facebook registration. When a user logs in they are redirected to the url specified in settings.py (settings.LOGIN_REDIRECT_URL)</p>
  
  <p>Is there a way to pass in the redirect url for example like so:</p>
  
  <pre><code>&lt;a class="button-facebook" href="{% provider_login_url "facebook" method="oauth2" next=redirecturl redirect_uri=redirecturl %}"&gt;
  </code></pre>