Just went through this process. For me it was sufficiant to update to magisk v23, rename magisk, install riru and riru unshare, hide all processes of phototan app in magisk hide and *clear cache* only for phototan app. This way I did not have to re-activate the phototan app (nor to wait 2 days) again.Update to latest v23
Install modules riru and riru unshare
Remove data from tan app
Go to magisk hide and tick all process to hide included the isolated
Start the tan app and do the activation again.
Problem you need wait 2 days to activate because comdirect use new activation process for photo tan app.