You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After complete login, it returns redirect_state, oauth_token and auth_verifier codes.
What I do with these paramets? For exemple, Google and Facebook needs "code" and "state" parameters. And I don't know to handle with redirect_state, oauth_token and auth_verifier!
The text was updated successfully, but these errors were encountered:
Assuming you have in your URL entries something like url('sso', include('social_django.urls', namespace='social')), you can get the login url just with
<a href="{% url "social:begin" "twitter" %}">`.
Then, if you set your LOGIN_REDIRECT_URL in settings.py to something like
LOGIN_REDIRECT_URL = 'home'
after logging in to Twitter you should be redirected right away to the home.
First of all I request this endpoint (http://localhost:8000/auth/o/twitter/?redirect_uri=http://127.0.0.1:8000/complete/twitter) to get the login url.
After complete login, it returns redirect_state, oauth_token and auth_verifier codes.
What I do with these paramets? For exemple, Google and Facebook needs "code" and "state" parameters. And I don't know to handle with redirect_state, oauth_token and auth_verifier!
The text was updated successfully, but these errors were encountered: