GET /workflow/teams API always return empty array when team external URL (flow.externalUrl.team) is configured.
Changed
use apiTokenService.createJWTToken(email) instead of apiTokenService.getUserToken() to generate token to be used to invoke team external URL. (refer the same logic updates in ExternalUserServiceImpl).
Issue
GET /workflow/teams API always return empty array when team external URL (flow.externalUrl.team) is configured.
Changed use
apiTokenService.createJWTToken(email)
instead ofapiTokenService.getUserToken()
to generate token to be used to invoke team external URL. (refer the same logic updates in ExternalUserServiceImpl).