PHPackages                             flowpack/neos-frontendlogin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. flowpack/neos-frontendlogin

ActiveNeos-plugin[Authentication &amp; Authorization](/categories/authentication)

flowpack/neos-frontendlogin
===========================

Neos plugin demonstrating a simple frontend login

4.2.1(4y ago)22222.5k↓11.5%17[2 PRs](https://github.com/Flowpack/Flowpack.Neos.FrontendLogin/pulls)1MITHTML

Since Mar 26Pushed 3y ago10 watchersCompare

[ Source](https://github.com/Flowpack/Flowpack.Neos.FrontendLogin)[ Packagist](https://packagist.org/packages/flowpack/neos-frontendlogin)[ RSS](/packages/flowpack-neos-frontendlogin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (22)Used By (1)

Flowpack.Neos.FrontendLogin
===========================

[](#flowpackneosfrontendlogin)

Neos plugin demonstrating a simple "frontend login"

DISCLAIMER
----------

[](#disclaimer)

This package mainly serves for demonstration purpose. You should be fine using it in productive applications, but if you need any custom behavior/style it's probably the easiest to create your own login form plugin. It's just a few files.

Setup &amp; Use
---------------

[](#setup--use)

- Install the package to `Packages/Plugin/Flowpack.Neos.FrontendLogin` (e.g. via `composer require flowpack/neos-frontendlogin`)
- Login to the Neos backend and create a new page "Login" (e.g. at `/login`)
- On that page insert the new plugin `Frontend login form`
- (Optionally) create a page (and subpages) for a "Members area" (e.g. at `/members`) and protect it as documented below
- Publish all changes
- Create a new Frontend User using the UI (in "Management &gt; Frontend Users")
- Alternatively you can use the `neos.neos:user:create` command (e.g. `./flow user:create --authentication-provider "Flowpack.Neos.FrontendLogin:Frontend" --roles "Flowpack.Neos.FrontendLogin:User"`)

Now you should be able to test the frontend login by navigating to `/login.html`

Protected Member Area
---------------------

[](#protected-member-area)

If you want to create a "Member Area" that is only visible to authenticated frontend users, add the following `Policy.yaml` to your site package:

```
privilegeTargets:

  'Neos\ContentRepository\Security\Authorization\Privilege\Node\ReadNodePrivilege':

    'Acme.YourPackage:MembersArea':
        # Replace  with the node's identifier to be targeted (you can see the identifier in the "Additional info"
        # group in the Property Inspector of the Neos Backend)
      matcher: 'isDescendantNodeOf("")'

roles:

  'Flowpack.Neos.FrontendLogin:User':
    privileges:
      -
          # Grant "frontend users" access to the "Member area"
        privilegeTarget: 'Acme.YourPackage:MembersArea'
        permission: GRANT

  'Neos.Neos:Editor':
    privileges:
      -
          # Grant "backend users" to access the "Member area" - Otherwise those pages would be hidden in the backend, too!
        privilegeTarget: 'Acme.YourPackage:MembersArea'
        permission: GRANT
```

The specified node and all its child-nodes will be hidden from anonymous users!

> **Note:** Replace "Acme.YourPackage" with the package key of your site package and replace "&lt;NodeIdentifier&gt;" with the node identifier of the "member area" node (as described).

Rewriting the template path to your package
-------------------------------------------

[](#rewriting-the-template-path-to-your-package)

You might want to modify the template(s) according to your needs. Create a `Views.yaml` file and add the following configuration there:

```
-
  requestFilter: 'isPackage("Flowpack.Neos.FrontendLogin") && isController("Authentication") && isAction("index")'
  options:
    templatePathAndFilename: 'resource://Acme.YourPackage/Private/Templates/Authenticate/Index.html'
```

Adjust the actual value in `templatePathAndFilename` to your needs and copy the [original template](Resources/Private/Templates/Authentication/Index.html)to that location in order to adjust it at will.

Redirect after login/logout
---------------------------

[](#redirect-after-loginlogout)

It is possible to specify pages the user will be redirected to after login and/or logout (since version 2.1.) in the login form properties.

*Hint:* In order to redirect to an external URL you can create a Shortcut node pointing to that URL and specify it as target for the redirect options.

User management UI
------------------

[](#user-management-ui)

The user management UI is available to administrators and everyone else having the role `Flowpack.Neos.FrontendLogin.Ui:UserAdministrator`.

It allows to manage users with the `Flowpack.Neos.FrontendLogin:Frontend` authentication provider exclusively.

Remove expired users
--------------------

[](#remove-expired-users)

The CLI command `user:deleteexpired` can be used to remove expired users.

It will delete all users having exactly one account with the `Flowpack.Neos.FrontendLogin:Frontend` authentication provider.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~128 days

Recently: every ~119 days

Total

21

Last Release

1512d ago

Major Versions

2.0.x-dev → 3.0.02017-01-27

2.1.x-dev → 3.0.32018-04-21

3.0.4 → 4.0.02019-08-16

3.1.1 → 4.1.02020-12-07

3.0.x-dev → 4.2.02021-03-23

PHP version history (2 changes)3.1.1PHP ^7.1

4.2.0PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/25d49a6af82b72d2764774a05c307808375016d7aeaaef3862472a6580ff38a7?d=identicon)[flowpack](/maintainers/flowpack)

---

Top Contributors

[![skurfuerst](https://avatars.githubusercontent.com/u/190777?v=4)](https://github.com/skurfuerst "skurfuerst (30 commits)")[![kdambekalns](https://avatars.githubusercontent.com/u/95873?v=4)](https://github.com/kdambekalns "kdambekalns (23 commits)")[![mficzel](https://avatars.githubusercontent.com/u/1309380?v=4)](https://github.com/mficzel "mficzel (17 commits)")[![gerhard-boden](https://avatars.githubusercontent.com/u/10533739?v=4)](https://github.com/gerhard-boden "gerhard-boden (14 commits)")[![daniellienert](https://avatars.githubusercontent.com/u/642226?v=4)](https://github.com/daniellienert "daniellienert (10 commits)")[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (9 commits)")[![kitsunet](https://avatars.githubusercontent.com/u/324408?v=4)](https://github.com/kitsunet "kitsunet (7 commits)")[![aertmann](https://avatars.githubusercontent.com/u/903567?v=4)](https://github.com/aertmann "aertmann (4 commits)")[![dlubitz](https://avatars.githubusercontent.com/u/13046100?v=4)](https://github.com/dlubitz "dlubitz (3 commits)")[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (3 commits)")[![RadLikeWhoa](https://avatars.githubusercontent.com/u/1138459?v=4)](https://github.com/RadLikeWhoa "RadLikeWhoa (2 commits)")[![markusguenther](https://avatars.githubusercontent.com/u/1014126?v=4)](https://github.com/markusguenther "markusguenther (1 commits)")[![albe](https://avatars.githubusercontent.com/u/4259532?v=4)](https://github.com/albe "albe (1 commits)")[![gerdemann](https://avatars.githubusercontent.com/u/690536?v=4)](https://github.com/gerdemann "gerdemann (1 commits)")[![afoeder](https://avatars.githubusercontent.com/u/1125168?v=4)](https://github.com/afoeder "afoeder (1 commits)")[![johannessteu](https://avatars.githubusercontent.com/u/769789?v=4)](https://github.com/johannessteu "johannessteu (1 commits)")[![beheist](https://avatars.githubusercontent.com/u/10347669?v=4)](https://github.com/beheist "beheist (1 commits)")

---

Tags

neoscms

### Embed Badge

![Health badge](/badges/flowpack-neos-frontendlogin/health.svg)

```
[![Health](https://phpackages.com/badges/flowpack-neos-frontendlogin/health.svg)](https://phpackages.com/packages/flowpack-neos-frontendlogin)
```

###  Alternatives

[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[visanduma/nova-two-factor

Nova Two Factor Authentication

56621.3k](/packages/visanduma-nova-two-factor)[sandstorm/neostwofactorauthentication

1223.6k](/packages/sandstorm-neostwofactorauthentication)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
