{"id":18298497,"url":"https://github.com/fusionauth/fusionauth-quickstart-python-flask-web","last_synced_at":"2025-04-05T13:33:38.261Z","repository":{"id":168429116,"uuid":"636896894","full_name":"FusionAuth/fusionauth-quickstart-python-flask-web","owner":"FusionAuth","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-28T05:57:14.000Z","size":2481,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-07-28T06:46:17.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-05T23:14:48.000Z","updated_at":"2024-07-28T05:57:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"46896702-2034-4b44-8b0b-8a18f80440d1","html_url":"https://github.com/FusionAuth/fusionauth-quickstart-python-flask-web","commit_stats":null,"previous_names":["fusionauth/fusionauth-example-python-flask-guide","fusionauth/fusionauth-quickstart-python-flask-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-python-flask-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-python-flask-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-python-flask-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-python-flask-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-quickstart-python-flask-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223192690,"owners_count":17103564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-05T15:06:14.139Z","updated_at":"2024-11-05T15:06:14.778Z","avatar_url":"https://github.com/FusionAuth.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Flask Application \n\nThis repo holds an example Python/Flask application that uses FusionAuth as the identity provider. \nThis application will use an OAuth Authorization Code Grant workflow to log a user in and get them access and \nrefresh tokens.\n\nThis application was built by following the [Python/Flask Quickstart](https://fusionauth.io/docs/quickstarts/quickstart-python-flask-web).\n\n## Project Contents\n\nThe `docker-compose.yml` file and the `kickstart` directory are used to start and configure a local FusionAuth server.\n\nThe `/complete-application` directory contains a fully working version of the application.\n\n## Project Dependencies\n* Docker, for running FusionAuth\n* Python 3.8 or later, for running the Changebank Python application\n\n## Running FusionAuth\nTo run FusionAuth, just stand up the docker containers using `docker-compose`.\n\n```shell\ndocker-compose up\n```\n\nThis will start a PostgreSQL database, and Elastic service, and the FusionAuth server.\n\n## Running the Example App\nTo run the application, first go into the project directory\n\n```shell\ncd complete-application\n```\nSet up a Python virtual env and installing the project dependencies.\n\n```shell\npython -m venv venv \u0026\u0026 \\\nsource venv/bin/activate \u0026\u0026 \\\npip install -r requirements.txt\n```\n\nThen use the `flask run` command to start up the application.\n\n```shell\nflask --app server.py run\n```\n\nIf you're going to be working on the application and want hot reloads of the server code, add the `--debug` flag.\n\n```shell\nflask --app server.py --debug run\n```\n\nVisit the local webserver at `http://localhost:5000/` and sign in using the credentials:\n\n* username: richard@example.com\n* password: password\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-python-flask-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-python-flask-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-python-flask-web/lists"}