Comments (6)
I used the latest version of edx-platform and everything's worked fine. The problem was this feature is not supported in dogwood-rc2.
Closing now. Thanks for your fast response and consideration.
from edx-app-android.
403 suggests there's a problem with your token. I assume you were logged in as stuff at the time? Do you know if other end points work with the token you used?
from edx-app-android.
Thanks @aleffert for your response.
I do not think that there's a problem in my token since I used it in curling enrllement API to make sure it's valid and it worked. Besides, I think it's been used in every module needed authentication within the app, but the only place I got a 403 is in the Native Find Courses module.
I logged in the server and requested it in the browser using the API link and it works fine.
Is there's any change in edx-platform repo after dogwood-rc2 I must be aware of? Since if it is a problem in the App, the CURL should work properly as far as I know. Anyhow, I tried merging the latest version of the platform but the same problem remains.
from edx-app-android.
The description for the 403 for this particular endpoint is,
`403 if a user who does not have permission to masquerade as
another user specifies a username other than their own.``
I'm also having trouble trying to reproduce this issue from the app itself. I am using the latest master on edx-app-android and master on edx-platform as recent as yesterday.
I do get a 403 when trying to access /api/courses/v1/courses/?username=staff&mobile=true&page=1
as a different user on the browser.
What happens when you try to login with a user other than staff
?
from edx-app-android.
I'm having the same problem. I'm using iOS 2.3.1 and edx-platform named-release/dogwood.3. Should I be using a newer version? Any other ideas what causes this 403 error?
from edx-app-android.
@jazztpt, I think you need to pull the master. The named-release/dogwood.3 hash is: e8186a1 which is the same as named-release/dogwood.2 one.
from edx-app-android.
Related Issues (20)
- App doesn't load text , mcq etc HOT 14
- Connection error in Courses tab HOT 8
- Not able to load authenticated block HOT 1
- SSLHandshakeException, CertPathValidatorException, Trust anchor for certification path not found. HOT 6
- Crashlytics initialize Issue HOT 3
- Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\DineshSingh\studybytech\edx-app-android\ExoPlayer\core_settings.gradle' as it does not exist. HOT 2
- app doesn´t connect with a backend with http, only https backends servers allowed HOT 2
- BUG when you rotate the device twice while watching a youtube video HOT 2
- Error inflating class com.google.android.exoplayer2.ui.PlayerView HOT 2
- Caching in AuthenticatedWebView HOT 1
- Could not find method leftShift() HOT 4
- java.lang.IllegalStateException: Not a JSON Object HOT 6
- Microsoft Login azuread-oauth2 header
- Randomised content block - Remove "View on Web" Message HOT 2
- HMS support for HUAWEI's phones HOT 1
- HarmonyOS support! HOT 1
- Why EDX videos are disappearing? HOT 6
- Lint issues on building for release HOT 4
- Connection error in Courses tab ( in Text content and Html xblock in my android app)
- Unable to register or sign up new user HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edx-app-android.