thank you George!!!
i did return return redirect(request2.url) and then the page worked and now i’m returned to the following:
http://localhost/?code=rgkzyaguo7iv76ywa7swzwjuu3v8ek&scope=viewing_activity_read+user_subscriptions
which this is exactly what is documented in the twitch v5 documentation. Now I need to figure out what to do next with that since currently its the lost page. But glad i’m over the hurdle of not getting any further on the login