Auth0 SPA SDK angular application gives access denied after login

I am using auth0 spa sdk for authentication for my angular 10 application.
It works fine for localhost, however on my dev enviornment on opening application it redirects to auth0 login and after login redirects to home page.
When i refresh the page, it gives access denied

below warnings and errors in UI and console

  1. UI shows error

AccessDenied

Access Denied

029CE9A2D39CAA41

dCoQZrtauGJwdphkwlruFrBtypb+sPIagKIZb7NP+NeDsZEpMquPV29dSH2jIEXvtaiLMNV8HH4=

2. Console shows error: DevTools failed to load SourceMap: Could not load content for https://{domain}/index.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE

3.(warning) A cookie associated with a cross-site resource at http://auth0.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies

Hey there!

Can I ask you to raise it as a GitHub issue in the SDK repo so we can work on that directly with the repo maintainers? Thanks! Make sure to share the link to it with us so we can ping them.