Skip to content

Conversation

@tomzemp
Copy link
Member

@tomzemp tomzemp commented Aug 28, 2024

DRAFT

Might be good to decide if we want to implement safe login mode in v42, before proceeding with an auto redirect as now the app on error (in v42) will redirect to a non-existent page. Also, might be good to think about what safe login mode should look like as an autoredirect will now bring users to a login page that looks different than the actual login page (which I imagine could make people suspicious of the content)

See https://dhis2.atlassian.net/jira/software/c/projects/LIBS/issues/LIBS-670

This PR:

  • updates error boundary in adapter to auto redirect to safe login mode for login app
  • outputs error to console by default for login app (if you enable persistence of console logs on navigation, you would see the console error after redirect)

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants