mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
908818eb02 |
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"aliases": [],
|
||||
"recipes": {
|
||||
"sylius/admin-mcp-server-plugin": [
|
||||
"m4n50n/oauth2-azure-bundle": [
|
||||
"0.1"
|
||||
]
|
||||
},
|
||||
@@ -12,9 +12,9 @@
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes-contrib",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2016/{package_dotted}.{version}.json",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1595/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2016/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1595/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"manifests": {
|
||||
"m4n50n/oauth2-azure-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"M4n50n\\OAuth2AzureBundle\\OAuth2AzureBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"AUTH_CLIEN_ID": "",
|
||||
"AUTH_CLIENT_PASS": "",
|
||||
"AUTH_TENANT": "",
|
||||
"AUTH_REDIRECT_URI": "",
|
||||
"AUTH_REDIRECT_TO_URL": false,
|
||||
"AUTH_REDIRECT_URL": ""
|
||||
},
|
||||
"gitignore": [
|
||||
".env",
|
||||
"/var/",
|
||||
"/vendor/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/oauth2_azure.yaml": {
|
||||
"contents": [
|
||||
"o_auth2_azure:",
|
||||
" clientId: '%env(AUTH_CLIEN_ID)%'",
|
||||
" clientSecret: '%env(AUTH_CLIENT_PASS)%'",
|
||||
" tenant: '%env(AUTH_TENANT)%'",
|
||||
" redirectUri: '%env(AUTH_REDIRECT_URI)%'",
|
||||
"",
|
||||
" # Optional",
|
||||
" redirectToUrl: '%env(bool:AUTH_REDIRECT_TO_URL)%' # Activate redirect after authentication",
|
||||
" redirectUrl: '%env(AUTH_REDIRECT_URL)%' # URL to redirect after authentication",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5a9d91da8b994ae18ccf3b1a609168c0b1ed0045"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sylius/admin-mcp-server-plugin": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": [
|
||||
"all"
|
||||
],
|
||||
"Symfony\\AI\\McpBundle\\McpBundle": [
|
||||
"all"
|
||||
],
|
||||
"Sylius\\AdminMcpServerPlugin\\SyliusAdminMcpServerPlugin": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SYLIUS_ADMIN_MCP_SERVER_API_URL": "https://your-domain.com/api/v2/admin/",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_API_EMAIL": "api@example.com",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_API_PASSWORD": "your-api-password",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_VERIFY_SSL": "true",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_PRIVATE_KEY": "%kernel.project_dir%/config/jwt/mcp_private.pem",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_PUBLIC_KEY": "%kernel.project_dir%/config/jwt/mcp_public.pem",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_PASSPHRASE": "",
|
||||
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_ENCRYPTION_KEY": "your-32-byte-hex-key-here"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sylius_admin_mcp_server.yaml": {
|
||||
"contents": [
|
||||
"imports:",
|
||||
" - { resource: \"@SyliusAdminMcpServerPlugin/config/config.yaml\" }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/sylius_admin_mcp_server.yaml": {
|
||||
"contents": [
|
||||
"sylius_admin_mcp_server:",
|
||||
" resource: \"@SyliusAdminMcpServerPlugin/config/routes.yaml\"",
|
||||
" type: yaml",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "49dd24b24c7bc34dc224ad3086d15497ee144a21"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user