Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] 3813e9640c Create Flex endpoint 2026-07-13 15:28:09 +00:00
4 changed files with 94 additions and 54 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"manifests": {
"atlas/symfony": {
"manifest": {
"bundles": {
"Atlas\\Symfony\\AtlasBundle": [
"all"
]
},
"copy-from-package": {
"Resources/config/atlas.yaml": "%CONFIG_DIR%/packages/atlas.yaml"
},
"env": {
"ATLAS_PDO_DSN": "",
"ATLAS_PDO_USERNAME": "",
"ATLAS_PDO_PASSWORD": ""
}
},
"files": [],
"ref": "59ce1c811d6db5e8c23fd8ecc0fdfa92f00a9dbf"
}
}
}
+64
View File
@@ -0,0 +1,64 @@
{
"manifests": {
"axium/identity": {
"manifest": {
"bundles": {
"Axium\\Identity\\AxiumIdentityBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"AXIUM_IDENTITY_URL": "https://identity.example.com",
"AXIUM_CLIENT_ID": "your-client-id",
"AXIUM_CLIENT_SECRET": "your-client-secret"
},
"post-install-output": [
"<bg=blue;fg=white> AXIUM Identity Bundle </>",
"",
"Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.",
"",
"Ajoutez les variables d'environnement suivantes \u00e0 votre fichier .env :",
"",
"AXIUM_IDENTITY_URL=https://identity.example.com",
"AXIUM_CLIENT_ID=your-client-id",
"AXIUM_CLIENT_SECRET=your-client-secret",
"",
"Documentation:",
"https://github.com/BenjaminYAO/axium-identity"
]
},
"files": {
"config/packages/axium_identity.yaml": {
"contents": [
"axium_identity:",
" url: '%env(AXIUM_IDENTITY_URL)%'",
" client_id: '%env(AXIUM_CLIENT_ID)%'",
" client_secret: '%env(AXIUM_CLIENT_SECRET)%'",
" verify_ssl: false",
""
],
"executable": false
},
"config/routes/axium_identity.yaml": {
"contents": [
"axium_identity_login:",
" path: /login",
" controller: Axium\\Identity\\Controller\\SecurityController::login",
" methods: [GET, POST]",
"",
"axium_identity_logout:",
" path: /logout",
" controller: Axium\\Identity\\Controller\\SecurityController::logout",
"",
""
],
"executable": false
}
},
"ref": "37d5f5a6b1cb522f38f888ecbeb736b3fae1a886"
}
}
}
+7 -4
View File
@@ -1,8 +1,11 @@
{
"aliases": [],
"recipes": {
"m4n50n/oauth2-azure-bundle": [
"0.1"
"atlas/symfony": [
"1.0"
],
"axium/identity": [
"1.0"
]
},
"recipe-conflicts": [],
@@ -12,9 +15,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-1595/{package_dotted}.{version}.json",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/{package_dotted}.{version}.json",
"recipe_template_relative": "{package_dotted}.{version}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1595/archived/{package_dotted}/{ref}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
}
}
-50
View File
@@ -1,50 +0,0 @@
{
"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"
}
}
}