SPA Security Enforcer

Hi,

I have started with a fresh new ASP .NET application and I am setting it up as an SPA.
Have done this part before as well, so all is working fine here.
Along with this, was trying to confiugure the new option to set security provider enforcer on content pages.
But, I am not sure as to what to put in the redirection URL

image

EDIT: I was able to get it to work by selecting the CONTENT page in the inputs. Now I am redirected to the login page, but the URL still shows the secure page. And after login, I no longer get redirected to the secure page.

Any suggestions @Teodor?

Did you manage to solve this?

Nope.
Got busy with other stuff, and forgot about this.
@Teodor Please help?

A clarification: By URL I mean the URL shown in address bar of the browser. That still shows the secure page's URL, but the page open is login page.
So, when I actually login, there is browser.goto set to the secure page, which fails.

Have you tried to have the login page as a separate page, i.e. not part of the SPA? That way there will be a page refresh to and fro.

Hi Ben.
The pages are indeed separate.
Login is a separate login.aspx & the secure page is a route of the main main.aspx page.