frontend-platform icon indicating copy to clipboard operation
frontend-platform copied to clipboard

initialize() needs to abort for anonymous users if requireAuthenticatedUser is true

Open davidjoy opened this issue 5 years ago • 0 comments

Currently if requireAuthenticatedUser is true and the user is anonymous, we begin the login redirect process but don't actually abort initialization. Application code that depends on there being an authenticated user will then have unexpected behavior, most likely causing a flash of an error page prior to redirecting to login, which isn't a great experience.

davidjoy avatar Nov 21 '19 15:11 davidjoy