Page redirect after post server method return statement to true

Hi Team,

I am working with server Http post method in servermethod controller which do validation in test screen, once i receive the response back to post server method with return json format and once i receive return json as true i need to redirect or navigate to other screen.

Code:
bool isDuoAuthenticated = authuser == loggedInUser;
//Response.Redirect
return Json(new { isDuoAuthenticated });
//Response.Redirect.loggedInUser

can you suggest me how to handle the redirect screen do i need apply changes in Radzen or i can handle in servermethod itself.

Redirects in a JSON API will not lead to a redirect in the Angular application. You should use a Navigate to Page action in Radzen depending on the ${result} of the API call.

I have one more question how to get response back to radzen from iframe post call

Not sure what this means.