diff --git a/web-auth/webauthn-symfony-bundle/3.0/config/packages/webauthn.yaml b/web-auth/webauthn-symfony-bundle/3.0/config/packages/webauthn.yaml new file mode 100644 index 00000000..741c5d68 --- /dev/null +++ b/web-auth/webauthn-symfony-bundle/3.0/config/packages/webauthn.yaml @@ -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 diff --git a/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php b/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php new file mode 100644 index 00000000..f8355132 --- /dev/null +++ b/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php @@ -0,0 +1,9 @@ +import('.', 'webauthn'); +}; diff --git a/web-auth/webauthn-symfony-bundle/3.0/manifest.json b/web-auth/webauthn-symfony-bundle/3.0/manifest.json new file mode 100644 index 00000000..0c2d2d7d --- /dev/null +++ b/web-auth/webauthn-symfony-bundle/3.0/manifest.json @@ -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" + } +}