ronaldtorres / kirby-2fa

Multi-factor authentication for Kirby 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kirby 2fa

Add description and cover

Installation

Before install, have in mind that the only way to implement this is by replacing the default panel login view. Hence if you have your implementation, install this plugin can be conflictive.

Download

Download and copy this repository to /site/plugins/ path.

Composer

composer require graphicmarket/kirby-2fa

Setup

  1. Add a field in your user blueprint
  auth:
    type: 2fa
  1. In the panel, follow the steps.

Upload a image example


You can add to your config file where you want the auth data will be stored, which must be a SQL lite file. Don't worry about creating the file you only need to specify the path. the file will be auto-created and configured if it doesn't exist.

  'graphicmarket.kirby-2fa.database' => 'full/path/to/db.sqlite'

Too, you can use a function that returns a string, if you wish to use the kirby() helper.

  'graphicmarket.kirby-2fa.database' => function () {
      return kirby()->root('storage') . '/kirby-2fa/db.sqlite';
  },

Change the issuer sounds like something that may you want to change. The issuer is the identifier that will be displayed on the authentication app.

Upload image example

  'graphicmarket.kirby-2fa.issuer' => 'Your company/website name',

Improvements and Features

  1. Passwordless login (Email/SMS)
  2. Implements own QRProvider.
  3. Save data in the user's DB
  4. Choose the driver storge

License

MIT

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

Credits

About

Multi-factor authentication for Kirby 3

License:MIT License


Languages

Language:PHP 52.6%Language:Vue 46.2%Language:JavaScript 1.2%