{"id":18298581,"url":"https://github.com/fusionauth/fusionauth-example-symfony","last_synced_at":"2026-04-26T12:31:18.661Z","repository":{"id":71200646,"uuid":"358324381","full_name":"FusionAuth/fusionauth-example-symfony","owner":"FusionAuth","description":"Example application integrating symfony with an OAuth server","archived":false,"fork":false,"pushed_at":"2026-04-21T22:57:22.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-04-25T03:42:58.321Z","etag":null,"topics":["fusionauth","login-system","oauth","oidc","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FusionAuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-15T16:28:01.000Z","updated_at":"2026-04-21T22:57:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"32e2f3c7-84ca-4992-99c2-2fe44eb1b6e1","html_url":"https://github.com/FusionAuth/fusionauth-example-symfony","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FusionAuth/fusionauth-example-symfony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-example-symfony/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-symfony/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fusionauth","login-system","oauth","oidc","symfony"],"created_at":"2024-11-05T15:06:27.074Z","updated_at":"2026-04-26T12:31:18.644Z","avatar_url":"https://github.com/FusionAuth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Securing a Symfony application with OAuth\n\nThis github repo shows a complete, if simple, symfony 5 application which integrates with an OAuth server for authentication and registration.\n\n## Tutorial link\n\nTBD\n\n## Prerequisites\n\n* Symfony 5 installed, including the `symfony` cli tool.\n* Composer\n* A modern PHP (tested with php 7.3.24)\n* FusionAuth installed. See https://fusionauth.io/docs/v1/tech/5-minute-setup-guide/ for install instructions.\n* A database such as MySQL installed.\n\n## To set up\n\n* Clone this repository\n* run \n* Set up a FusionAuth application in the admin UI.\n  * On the OAuth tab\n    * Add the following to the Authorized redirect URLs list: `http://localhost:8000/connect/fusionauth/check`\n    * Add the following to the Logout URL: `http://localhost:8000`\n  * On the Registration tab\n    * Turn on self service registration.\n    * set the type to 'Basic' and the login type to 'Email'\n* Note and save the client secret and client id from the FusionAuth application\n* Register a user for the FusionAuth application\n* Set up your .env.local file with the following info\n  * Database connection info: `DATABASE_URL`\n  * FusionAuth client id: `CLIENT_ID`\n  * FusionAuth client secret: `CLIENT_SECRET`\n  * FusionAuth location: `FUSIONAUTH_BASE`, like `https://local.fusionauth.io`\n* Run the migration to create the objects: `symfony console doctrine:migrations:migrate`\n* Start the server: `symfony server:start`\n* Visit `http://localhost:8000` and you should be able to login or register.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-example-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-symfony/lists"}