So just adding a low value resistor in the source of the MOSFET?
I also saw this design that uses a BJT transistor: https://youtu.be/9auu8hH4IPM?list=PLUMG8JNssPPzbr4LydbTcBrhoPlemu5Dt&t=457
Thanks a lot for the advice.


Scully has some great videos detailing the operation, but unfortunately some janky ways of reaching the same means
Best way to achive your desired result is to use a quad op amp, each controlling one mosfet which is connected to a separate source resistor. this way you can:
1) drop the power rating of both your fets and resistors -> cheaper parts
2) use way less parts -> more space on pcb + cost savings
I would strongly suggest you look into the illusive ADS1219, the bigger brother of ADS1115. also you can use X2Y capacitors for your adc input filter for less noise and higher accuracy. costs almost the same as the ADS1115 modules available on amazon but not as popular, so you should but it from mouser or digikey, but I can get about 100uV accuracy or better depending on the application. you can copy my ADC design from this picture:
In terms of mosfets, you can use logic level fets which should give you a better response ... not sure if the 1.4A limit on 1V is caused by the transconductance of the mosfet or not, but it's well worth trying an IRLZ44N. Others have mentioned some high linear SOA IXYS fets which are really expensive in my opinion. you can get better cooling and save cost if you go with 4 cheap fets rather than 1 or 2 expensive ones. also because of higher surface area of separated load, they will be a lot easier to cool (I could get about 20 watts using two passively cooled fets, if you have a fan (which you do) your load capacity will increase drastically) !

3D printed case is a nice idea but will soften and loose shape if your load gets hotter than about 60C which the chances are it will! even if you use ABS it's not much better. a good idea would be to make a silicon mold of your printed parts and creating resin castings from them which are a lot more durable!
one final note would be to use a proper dac instead of a PWM signal ... it depends on your budget to determine if it's worth it or not but a simple first order RC filter you used has some major flaws. you should preferably use a two stage second order filter if you want any decent settling of the voltage and level of accuracy. I strongly recommend a DAC if you can fit it in your budget.

) programmable voltage references use this technique. I think the biggest tradeoff is the settling time when compared with a conventional DAC.The low VDD for the DAC is likely not a good idea. In addition to the problems already mentioned it could cause trouble with the interface to the µC, if there are high voltages. So Vdd should be more likely the µC supply with some RC or LC filtering.
The amplification and level shift after the DAC does not work this way. The OPs inputs are swapped.
The OP4277 is a slightly odd and expensive choice, as it's made for relatively high impedance source. The power stages likely need to be separated a little anyway to have space for the heat sink a quad OP is also odd.
Using a parallel / series combination of 0.1 Ohms resistors is prone to add extra copper resistance and thus not really accurate. Also many small resistors close together, especially in SMD form factor have difficulties in getting the heat away. So putting 4 SMD 250 mW resistors may be more like a 500 mW resistor.
With presumably the same resistors used, it does not make that much sense to have a separate shunt for the total current. With some care in the layout, one could just combine the average voltage of the resistors at the current regulators. A separate shunt for the total would make sense, if one good quality shunt is used. The power stages could than also use simpler resistors and even simpler OPs, with one more OP to make sure the overall current is right.

Related matter
DISTRELEC sells IXTQ42N25P - MOSFET N, 250 V 42 A 300 W TO-3P for 3.91 Euro.
https://www.distrelec.biz/en/mosfet-250-42-300-to-3p-ixys-ixtq42n25p/p/17111086?queryFromSuggest=true
Good thing is that it has specified DC SOA in the datasheet
I am building a precision current sink 0-2A for calibration purposes with this MOSFET, chopper amp LTC1152 and 1R VISHAY VHP-4 current shunt, results from prototyping good so far, 6:th digit in current fluctuate a little
The circuit to generate the 2 inputs is also a little odd, there should be a simpler way with just 2 OP instead of 3.
There is a limited use for the negative half of the voltage range. The load circuit is made to work with positive voltages only.
So I guess it is OK to just skip the negative voltages and keep the circuit simple and this way more stable.
The OP for the offset makes some sense, but here may be a simpler solution: Use an OP to invert the 2 V reference and just add some part of the inverted voltage to the divider. This version is less sensitive to the OPs quality. However the OP for the current regulation is way more important anyway, as the voltage level is smaller by something like a factor of 10.
Another point to care about is saturation of the load - if the external voltage is too low to allow the set current to flow, the regulator with slew up the gate voltage quite high and would be slow to react if later connected. This could be a problem if the voltage source is connected with the load already on. This could be unintentionally by a poor contact. After saturation there could be high current spike - possibly even damaging or blowing the fuse.
One way to protect against this would be to disable the load, if the voltage is too low (e.g. < 0.5 V). Alternative one could turn down the current on low voltage. This could kind of set a minimum resistance (should be higher than shunt + 2*R_on) - so the regulation should never go into saturation.