Oauth: You are authenticated as xx, but are not authorized to access this page

oauth
api-access

#1

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. How can I solve this?

I am using django and django-allauth library


#2

That error does not look like something that comes from the Twitter API - do you have an error code? (this looks like a Django issue)


#3

Thank you, that is true. I used admin page as my callback Url and the tweeter user was not an admin on my framework. So it was neither tweeter API issue nor Django issue, just my code.

Thank you.


#4