UCL-INGI / INGInious

INGInious is a secure and automated exercises assessment platform using your own tests, also providing a pluggable interface with your existing LMS.
http://www.inginious.org
Other
202 stars 139 forks source link

Identify API request with HTTP Authorization Bearer #959

Closed Drumor closed 10 months ago

Drumor commented 1 year ago

Resolves #185

anthonygego commented 10 months ago

I'll close this PR as it simply does not work :

Besides, the API session is therefore cookieless (ideally a real token in the future) and should not be the same as for the main platform. We need either to use the same (similar) cookieless mechanism as for LTI session or to rewrite the API so that it does not rely on the Flask session object, or, maybe simpler, look how to export the API as a blueprint with separated sessions (I think Flask support that kind of thing).