checkSession triggers lot of authorize calls

I am building an Javascript SPA and I call checkSession when my token gets invalid. I saw that I get for one call to checkSession around 300 web requests to /authorize. Is that a normal behaviour?

That doesn’t sound right. Maybe something wrong in the application code? Sure that checkSession itself is only called once and not multiple times as well? Just for testing, you could checkout and run this JS sample at which also contains checkSession and see if you get the same behavior there as well.

1 Like