okpy / ok

ok.py supports programming projects by running tests, tracking progress, and assisting in debugging.
Apache License 2.0
333 stars 84 forks source link

Support edX as OAuth provider #1207

Open colinschoen opened 6 years ago

colinschoen commented 6 years ago

From @papajohn Data8 online uses EdX and not all students may have a Google account. Allow support for choosing either EdX or Google as the authentication provider with OK.

yuvipanda commented 6 years ago

If you want to provide grades back to EdX, that requires that the user use EdX to login, right?

colinschoen commented 6 years ago

It looks like calls to an external grader service are invoked by the student on code/answer submission inside the EdX platform so they would need an EdX account to do that, yes. There isn't an API to update students' grades on the EdX platform that I know of.

Ref: http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/external_graders.html

papajohn commented 6 years ago

I don't think it's necessary to use edX's gradebook for individual assignments — students can just check their progress on OK.

We will eventually need to indicate who passed the course and who did not within the edX system somehow, and for that we will need to track edX IDs.

-John

On Thu, Dec 7, 2017 at 11:48 PM, Colin Schoen notifications@github.com wrote:

It looks like the external grader service is something that is invoked by the student on code/answer submission inside the EdX platform so they would need an EdX account to do that, yes. There isn't an API to update students' grades on the EdX platform that I know of.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Cal-CS-61A-Staff/ok/issues/1207#issuecomment-350196789, or mute the thread https://github.com/notifications/unsubscribe-auth/AATikXfpewDlxhJgtK3rgrRY_gVL4Jjsks5s-OnrgaJpZM4Q6dbz .