I have created just a simple django app to login using tweeter, but when i try to login from my app I get this message "You are authenticated as xxx, but are not authorized to access this page. Would you like to login to a different account?"

I have tried to login with account I used to create the app and different account, but the result is the same. What could be the solution to this?
I am using django and django-allauth library