Infinite reload loop of application

I am using keycloak-angular npm package for authentication of my client application which is developed using Angular framework.

my application reloads in loop in chrome and EDGE (but not in firefox) and observed that token endpoint of keycloak does not send any response but sends back 200OK.

Can anyone help me?

thanks in advance.