Files
symfony-flex-recipes-contrib/web-auth.webauthn-symfony-bundle.3.0.json
T
github-action[bot]andgithub-action[bot] 2357262275 Update Flex endpoint
2023-05-12 19:54:37 +00:00

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": {
"RELYING_PARTY_ID": "example.com",
"RELYING_PARTY_NAME": "My Application"
}
},
"files": {
"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(RELYING_PARTY_NAME)%' # Please adapt the env file with the correct relaying party ID or set null",
" id: '%env(RELYING_PARTY_ID)%' # Please adapt the env file with the correct relaying party ID or set null",
" request_profiles:",
" default:",
" rp_id: '%env(RELYING_PARTY_ID)%' # Please adapt the env file with the correct relaying party ID or set null",
""
],
"executable": false
},
"config/routes/webauthn_routes.yaml": {
"contents": [
"webauthn_routes:",
" resource: .",
" type: webauthn",
""
],
"executable": false
}
},
"ref": "a5dff33bd46575bea263af94069650af7742dcb6"
}
}
}