XP Custom login page?

Enonic version: 6.4.1
OS: Ubuntu

Hey,

I’m trying to implement a custom login page for a site and can’t find the right docs for it.

Can someone point me to the documentation ?

/Runar

You can create a service that handle your form request and using the Auth Lib, you can perform the login action using the login/password parameters from your form.

http://repo.enonic.com/public/com/enonic/xp/docs/6.4.0/docs-6.4.0-libdoc.zip!/module-lib_xp_auth.html#.login

2 Likes

I ended up with creating a 403 error page that is a login page .
Then created a login REST service where username password is validated with Auth library. On login success I just refresh the page and youre in.

http://xp.readthedocs.org/en/stable/developer/site/errors/index.html

4 Likes