Do we support OKTA SAML SSO for angular application?

I set up a SAML SSO application, for which the redirect URL is set as my angular application URL,
but after the login is successful in okta, it redirects back to my application’s angular URL, but it gives an error message
cannot post to this url (seems like it is trying to post in API endpoint)
is there any way that the redirection can be made to the angular frontend and not on API endpoint as I need to redirect to the dashboard after the login is successful?

image
Gives error like this …