Skip to content

LithiumHosting/li-laravel-2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Google Two-Factor Authentication

from Lithium Hosting
We're always open to pull requests, feel free to make this your own or help us make it better.

Copyright

(c) Lithium Hosting, llc

License

This library is licensed under the MIT license; you can find a full copy of the license itself in the file /LICENSE

Requirements

  • Laravel 5.2+
  • php 5.5.9+
  • Knowledge of Laravel and php

Description

This is not a composer package, simply an exampe of how to use Google 2FA with Laravel 5.2+
Most Google 2FA packages for LAravel don't include middleware or proper directions on how to handle the Login -> OTP/2FA -> Logged In workflow.
This is just one example, it can likely be done in a much better way, but for this example it's very basic.


Usage

Instead of providing a full L5 installation with modified files, this is the opposite, just the modified files.
Take a look for yourself for an idea on how to implement 2FA in L5 with Google Authenticator.

Disclaimer

This code is not currently used in production and is not certified or claimed to be production ready.
Lithium Hosting assumes no responsibility for your usage of this code or any issues that may arise as a result of your usage.

About

Simple example for using 2FA with Laravel 5.2+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages