When migrating 3.5 to 5.x portal using the migrate-to-apim method the Callback URL values are not getting migrated.
Release : 5.x
Component : API PORTAL
Follow the steps below to manually export the oAuthCallbackUrl from the Classic Portal to a temporary table, and then import the table values into the Target Portal:
mysql> CREATE TABLE temptable AS SELECT uuid, oAuthCallbackUrl FROM lrsapplication;
mysqldump lrs temptable > temp.sql;
mysql> DROP TABLE temptable;
mysql -u admin -p portal < temp.sql
mysql> ALTER TABLE temptable CONVERT TO character set utf8mb4 collate utf8mb4_0900_ai_ci;
mysql> UPDATE APPLICATION_API_KEY t2, temptable t1 SET t2.OAUTH_CALLBACK_URL = t1.oAuthCallbackUrl WHERE t2.APPLICATION_UUID = t1.uuid;
mysql> DROP TABLE temptable;
POST ${tenantUrl}/api/${tenantId}/deployments/internal/proxies/${proxyUuid}/api-keys?forceDeploy=true