Merge pull request #819

This commit is contained in:
symfony-flex-server[bot]
2020-03-11 21:36:02 +00:00
committed by GitHub
3 changed files with 34 additions and 0 deletions
@@ -0,0 +1,13 @@
# Please see the following page for more information: https://webauthn-doc.spomky-labs.com/the-webauthn-server/the-symfony-way#configuration
webauthn:
credential_repository: 'Webauthn\Bundle\Repository\DummyPublicKeyCredentialSourceRepository' # CREATE YOUR REPOSITORY AND CHANGE THIS!
user_repository: 'Webauthn\Bundle\Repository\DummyPublicKeyCredentialUserEntityRepository' # CREATE YOUR REPOSITORY AND CHANGE THIS!
creation_profiles:
default:
rp:
name: '%env(RELAYING_PARTY_NAME)%' # Please adapt the env file with the correct relaying party ID or set null
id: '%env(RELAYING_PARTY_ID)%' # Please adapt the env file with the correct relaying party ID or set null
request_profiles:
default:
rp_id: '%env(RELAYING_PARTY_ID)%' # Please adapt the env file with the correct relaying party ID or set null
@@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return function (RoutingConfigurator $routes) {
$routes->import('.', 'webauthn');
};
@@ -0,0 +1,12 @@
{
"bundles": {
"Webauthn\\Bundle\\WebauthnBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
},
"env": {
"RELAYING_PARTY_ID": "example.com",
"RELAYING_PARTY_NAME": "My Application"
}
}