Required data is coming in the JSON payload but post login application is redirecting to default web site link instead of the redirection uri that we mentioned in Okta.
We could the see request getting transferred to redirect_uri in browser but from there it is generating http status code as 302 and redirecting to default page of default web site.
What do you see occurring in your application when the redirect_uri is hit? Is the application able to get tokens for the user?
I wonder if there is some default behavior in your application to redirect the user back to the main route once they have tokens/are considered authenticated.