Safari cannot open the page because too many redirect occurs

Developing an web application in asp.net core and angular. I am facing this error. is there any solution programmatically or suggest some other solution. is there a safari version issue or something else

Source: Angular Questions