pub async fn courses_moocfi_password_login(
request: HttpRequest,
pool: Data<PgPool>,
payload: Json<LoginRequest>,
) -> ControllerResult<Json<bool>>Expand description
POST /api/v0/tmc-server/users/authenticate
Endpoint used by the TMC server to authenticate a user using user_id and password.
Returns true if the credentials match a known user in this system, otherwise returns false.
Only works if the authorization header is set to a valid shared secret between systems.