Auto-Enrollment API

I am trying to test Open edX’s auto-enrollment api endpoint in Postman. I can make a successful GET request to the following endpoint:

/account/finish_auth?course_id=course-v1%3AedX%2BDemoX%2BDemo_Course&enrollment_action=enroll

I get a successful 200 OK status, but it takes me to a sign in or Register page. My access token is good and I’ve set up my user name and password in the Authorization section using an OAuth 2.0 provider but I don’t get what a sign in page does for auto enrollment. It should log me in and take me to a course page as well, if I’m not mistaken.

Any suggestions? Thanks.

Hi @Zamorocks,

Can you post a few more details on what you are trying to do with your instance?
To automate student enrollment, you can use the enrollment API (shown below).

If you navigate to https://your-instace-url/api-docs/ you’ll see the full capabilites of this API.