how set login page without setting of anonymous user?

0
hi, I'm rapid mendix developer. The Authentification setting field does not appear in Navigation unless the Anonymous User setting is turned on.However, I have seen Apps that freely change the login page without setting Anonymous User.At what point do you specify the login page? Also, is there any way to change a page created in Mendix studio pro to a custom login page? translated by deepL, so  I may have made a mistake somewhere, forgive me. mxStudioPro ver.10.19.0
asked
2 answers
0

@Morimoto Kazuki:

 

What do you want to achieve? If you really want to use a custom login page you will need Anonymous access enabled for that custom login page. Anonymous users should not have any access to content that is locked behind a login.

answered
0

Hello Morimoto,

 

You basically need to set your security settings to production(i advise to do this directly when starting a project). 

image.png

Then you can add userrole to your application which you can connect to module roles. 

https://docs.mendix.com/refguide/user-roles/

 

This also forces you to sign in when you try to access your application, normally you end up here(this is the basic sign in page):

image.png

 

But you can create your own sign in page there are multiple ways to achieve this, search the forum there are plenty of answers :

 

here a link to a blog of enabling security and creating sign in page:

 

https://www.mendix.com/blog/enabling-security-and-adding-a-login-page/

 

hope this helps,

 

Good luck!

answered