Since the release of richie 2.0.0-beta.20, after login/registration, EDX should redirect user on Richie. In the case of FUN Mooc, just before redirect, a middleware is in charge to check that user has accepted latest version of terms and conditions.
We have to maintain this logic with the new richie version.
Proposal
[x] Whitelist api routes used by Richie from legal_acceptance middleware
[x] Create a richie view to redirect user on richie after login/registration
[x] Use a next query param on legal_acceptance to redirect user on the page he comes
Purpose
Since the release of
richie 2.0.0-beta.20
, after login/registration, EDX should redirect user on Richie. In the case of FUN Mooc, just before redirect, a middleware is in charge to check that user has accepted latest version of terms and conditions. We have to maintain this logic with the new richie version.Proposal