Share app tokens between nextcloud instances

I have 2 instances of Nextcloud, the users are redirected using different DNS translations (same name, different IP based on which network they are).

I create app token and login using it on one server.

How can I transfer the same token to the other instance, so that the app logs in using it?

I tried to copy the token row in oc_authtoken, but it did not work… probably it generates some specific keys for each instance.

Is it possible at all - or is there a way how to change the token password after it has been generated? (Then I could generate a token on the other host and just change it)…