Skip to content
Example use of asbiin/laravel-webauthn
PHP HTML Vue
Branch: master
Clone or download
Latest commit d8853bc Dec 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Add webauthn middleware Apr 18, 2019
bootstrap Create laravel application Apr 18, 2019
config upgrade laravel-webauthn #1 Sep 19, 2019
database Add resources Apr 18, 2019
public
resources upgrade laravel-webauthn v0.6.2 (#3) Oct 9, 2019
routes Add webauthn middleware Apr 18, 2019
storage Create laravel application Apr 18, 2019
tests Create laravel application Apr 18, 2019
.editorconfig Create laravel application Apr 18, 2019
.env.example upgrade laravel-webauthn v0.6.2 (#3) Oct 9, 2019
.gitattributes Create laravel application Apr 18, 2019
.gitignore Create laravel application Apr 18, 2019
LICENSE Add readme and licence Apr 18, 2019
README.md Add readme and licence Apr 18, 2019
artisan upgrade dependencies Nov 16, 2019
composer.json upgrade dependencies Nov 16, 2019
composer.lock upgrade dependencies Nov 16, 2019
package.json upgrade laravel-webauthn #1 Sep 19, 2019
phpunit.xml Create laravel application Apr 18, 2019
server.php Create laravel application Apr 18, 2019
webpack.mix.js Create laravel application Apr 18, 2019
yarn.lock update assets (#4) Dec 5, 2019

README.md

Laravel-WebAuthn example application

This is an example use of asbiin/laravel-webauthn package.

Installation

In order to test the application, you need to:

  • Clone this repository

  • Install packages and configuration:

    composer install
    cp .env.example .env
    php artisan key:generate
  • Configure database. You can use an sqlite database, just put DB_CONNECTION=sqlite in the .env file:

    sed -i 's/\(DB_CONNECTION\)=.*/\1=sqlite/' .env
    touch database/database.sqlite
  • Then you need to point you webserver to the public directory. Follow instructions on the Laravel documentation. Be aware WebAuthn will only works on HTTPS mode, so you will need to set your webserver with https.

Usage

Got to https://localhost/webauthn/register to register a new key.

License

Author: Alexis Saettler

Copyright © 2019.

Licensed under the MIT License. View license.

You can’t perform that action at this time.