My Access application configuration does not include the custom domain (there is no way to set it) in the application domain list. I expect this might be related.
I can't share the site per the post guidelines unfortunately, but happy to make a reproduction if desired.
Appreciate the help debugging this or pointers to any alternatives if Access isn't meant to be used this way.