Please letme know on which cases this comes?

I have added login feature and the error is coming  “ Atleast one allowed role must be selected if the page is used from navigation or a button.” Please let me know how can I resolve this?
1 answers

Allow the role “Anonymous” to access the login page (when you create a custom login page in Mendix). Each page that is accessible to the user (either signed in or anonymous) require at least one role

Open the page NewLoginPage, in the Properties Pane: Navigation: visible for: add Anonymous

Review the learning path: