Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] 5cd28c3420 Create Flex endpoint 2026-07-13 12:38:34 +00:00
2 changed files with 14 additions and 45 deletions
+12 -43
View File
@@ -10,33 +10,19 @@
"copy-from-recipe": { "copy-from-recipe": {
"config/": "%CONFIG_DIR%/" "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": [ "post-install-output": [
"<bg=blue;fg=white> AXIUM Identity Bundle </>", "<bg=blue;fg=white> AXIUM Identity Bundle </>",
"", "",
"Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.", "Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.",
"Ajoutez les variables d'environnement suivantes dans votre fichier `.env` :",
"", "",
"```env", "Ajoutez les variables d'environnement suivantes \u00e0 votre fichier .env :",
"",
"AXIUM_IDENTITY_URL=https://identity.example.com", "AXIUM_IDENTITY_URL=https://identity.example.com",
"AXIUM_CLIENT_ID=your-client-id", "AXIUM_CLIENT_ID=your-client-id",
"AXIUM_CLIENT_SECRET=your-client-secret", "AXIUM_CLIENT_SECRET=your-client-secret",
"", "",
"## Configuration de s\u00e9curit\u00e9",
"",
"Copiez le fichier d'exemple de configuration de s\u00e9curit\u00e9 :",
"",
"```bash",
"cp config/packages/axium_identity_security.yaml.dist config/packages/security.yaml",
"",
"Puis adaptez la configuration selon les besoins de votre projet.",
"",
"Documentation:", "Documentation:",
"https://gitlab.com/BenjaminYAO/axium-identity" "https://github.com/BenjaminYAO/axium-identity"
] ]
}, },
"files": { "files": {
@@ -51,40 +37,23 @@
], ],
"executable": false "executable": false
}, },
"config/packages/axium_identity_security.yaml.dist": { "config/routes/axium_identity.yaml": {
"contents": [ "contents": [
"security:", "axium_identity_login:",
" password_hashers:", " path: /login",
" Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'", " controller: Axium\\Identity\\Controller\\SecurityController::login",
" methods: [GET, POST]",
"", "",
" providers:", "axium_identity_logout:",
" app_user_provider:", " path: /logout",
" entity:", " controller: Axium\\Identity\\Controller\\SecurityController::logout",
" class: App\\Entity\\User",
" property: email",
"", "",
" firewalls:",
" dev:",
" pattern: ^/(_profiler|_wdt|assets|build)/",
" security: false",
"",
" main:",
" lazy: true",
" provider: app_user_provider",
" custom_authenticator:",
" - Axium\\Identity\\Security\\IdentityAuthenticator",
" logout:",
" path: app_logout",
" target: app_login",
"",
" access_control:",
" - { path: ^/dashboard, roles: ROLE_USER }",
"" ""
], ],
"executable": false "executable": false
} }
}, },
"ref": "7120857f6e8e23a61f13ef48c8e1bf14af99ccb3" "ref": "63c4e8b612a009077e68f213f18fd9276cbf0045"
} }
} }
} }
+2 -2
View File
@@ -12,9 +12,9 @@
"_links": { "_links": {
"repository": "github.com/symfony/recipes-contrib", "repository": "github.com/symfony/recipes-contrib",
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2013/{package_dotted}.{version}.json", "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2012/{package_dotted}.{version}.json",
"recipe_template_relative": "{package_dotted}.{version}.json", "recipe_template_relative": "{package_dotted}.{version}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2013/archived/{package_dotted}/{ref}.json", "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2012/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
} }
} }