cesnet/simplesamlphp-module-webauthn

This package is abandoned and no longer maintained. The author suggests using the cesnet/simplesamlphp-module-privacyidea package instead.

A SimpleSAMLphp module for MFA using webauthn flask module

Installs: 34

Dependents: 0

Suggesters: 1

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Type:simplesamlphp-module

v1.3.5 2022-04-25 18:45 UTC

This package is auto-updated.

Last update: 2022-04-25 18:46:42 UTC


README

This module is no longer developed. We have moved to privacyIDEA, try our fork of simplesamlphp-module-privacyidea instead.

Installation

cd /var/simplesamlphp/modules
git clone https://github.com/CESNET/simplesamlphp-module-webauthn.git webauthn

Example configuration

If the flask module runs at https://flask.example.com/webauthn/, use the following auth proc filter:

50 => [
    'class' => 'webauthn:WebAuthn',
    'redirect_url' => 'https://flask.example.com/webauthn/authentication_request',
    'api_url' => 'https://flask.example.com/webauthn/request',
    'signing_key' => '/var/webauthn_private.pem',
    'user_id' => 'uid',
    'skip_redirect_url' => 'https://example.com/simplesaml/switchMethods.php',
    'hide_manage_tokens' => 'hide_manage_tokens',
],

Then you have to adjust the configuration of the flask module. If your SimpleSAMLphp installation is available at https://example.com/simplesaml/, use the following URL as the callback-url in the flask module's config.yaml:

https://example.com/simplesaml/module.php/webauthn/handleResponse.php

License

This module is licensed under the BSD 2-Clause License.

Copyright (c) 2021, Institute of Computer Science, Masaryk University and CESNET, z. s. p. o. All rights reserved.