Frontend authentication with page credentials

Hi there,

I would like to create an authentication using credentials saved inside a page. So assuming I have a page with an identifier field and a password field it should be possible to login using these credentials set and redirect the user to this one single page. Allowing access only to this page, files inside it and the login/logout route.

Does anyone already built something similar? I don’t want to use the default panel accounts as this would spam the folder.

Cheers,
Niklas

I haven’t built anything like this, but I don’t see a reason why it shouldn’t be possible.

I don’t know if this script will help you make that? https://github.com/jenstornell/kirby-secrets/wiki/Panel-login-automatically

Also available here: Bypass login for localhost environment

You can’t just copy/paste in your case but hopefully it can be a starting point?