I am trying to authorize another sandbox/production to create connection. When I first time authorize the connected app, it is returning the Auhorization Code in the URL, however when it gets redirected to LWC app, code is disappeared because the parameter is 'code' not like 'c__code'. So, pagereference state is unable to read the param value. It was working till the previous release, with Spring release it started behaving differently.
Original URL: not working
I tested with adding 'c__' to the param manually and it worked fine.
Modified URL: Working
is there a way we can rename the redirected URL params dynamically?
'code' to 'c__code'