mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
52 lines
2.4 KiB
JSON
52 lines
2.4 KiB
JSON
{
|
|
"manifests": {
|
|
"web-auth/webauthn-symfony-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Webauthn\\Bundle\\WebauthnBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%"
|
|
},
|
|
"env": {
|
|
"RELAYING_PARTY_ID": "example.com",
|
|
"RELAYING_PARTY_NAME": "My Application"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/routes/webauthn_routes.yaml": {
|
|
"contents": [
|
|
"webauthn_routes:",
|
|
" resource: .",
|
|
" type: webauthn",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/webauthn.yaml": {
|
|
"contents": [
|
|
"# 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",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "9926090a80c2cceeffe96e6c3312b397ea55d4a7"
|
|
}
|
|
}
|
|
}
|