Git Product home page Git Product logo

Comments (6)

 avatar commented on June 19, 2024 1

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.

aleffert avatar aleffert commented on June 19, 2024

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.

 avatar commented on June 19, 2024

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.

BenjiLee avatar BenjiLee commented on June 19, 2024

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.

jazztpt avatar jazztpt commented on June 19, 2024

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.

iamjazzar avatar iamjazzar commented on June 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.