commit 908818eb025cdf23acd4ad0721ab92ebd45aa980 Author: github-action[bot] <> Date: Tue Feb 20 15:02:29 2024 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..76fcd57d --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "m4n50n/oauth2-azure-bundle": [ + "0.1" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_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_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_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/m4n50n.oauth2-azure-bundle.0.1.json b/m4n50n.oauth2-azure-bundle.0.1.json new file mode 100644 index 00000000..1c6b0a2d --- /dev/null +++ b/m4n50n.oauth2-azure-bundle.0.1.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" + } + } +}