mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 23:56:29 +03:00
Merge pull request #819
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user