I have a problem with the android app. I can access course’s videos but text and quiz returns me a 404 not found error.
I didn’t have this problem on native installation. So i debugged the app.
I discovered that that this url and view
# OAuth token exchange if settings.FEATURES.get('ENABLE_OAUTH2_PROVIDER'): urlpatterns += [ url( r'^oauth2/login/$', LoginWithAccessTokenView.as_view(), name='login_with_access_token' ), ]
use dot_models (Django Oauth Toolkit) to validate the user, but in the database the tokens are located at /admin/oauth2/accesstoken/ not at /admin/oauth2_provider/accesstoken/.
But i have ENABLE_OAUTH2_PROVIDER enabled.
what is going wrong ?