Migrating JWT to Server to Server Oauth from 2.6 to 2.7

Thank you for the details. To confirm, are you generating the signature with PHP function? If so, here is a helpful developer forum post on generating the signature with PHP: