Skip to main content

Auth Plugin

Introduction​

A plugin implementing authentication.

Installation​

composer require jump/oc-auth-plugin

Repository​

Github

Configuration​

.env
JUMP_AUTH_USER_MODEL=App\Users\Models\User

Usage​

info

It is recommended to hideFromPages => true, on authentication pagesections and only include them in CMS pages.

User Model​

See model

Login​

For more information see login

Example Page​

title = "Login"
url = "/login"
is_hidden = 0
layout = "main"
==
{% section 'login' %}

Logout​

See login

Password Reset​

See login

Troubleshooting​

  • If you are having issues installing >= 1.30 try composer require paragonie/random_compat=~2.0 first.
  • If you are receiving undefined offset 0 set the auth class in the env JUMP_AUTH_USER_MODEL=App\Account\Models\User