{"id":22253049,"url":"https://github.com/plusauth/plusauth-python-starter","last_synced_at":"2025-03-25T12:23:54.469Z","repository":{"id":50162249,"uuid":"273530774","full_name":"PlusAuth/plusauth-python-starter","owner":"PlusAuth","description":"Python starter project demonstrating OIDC authentication using Flask and flask-pyoidc.","archived":false,"fork":false,"pushed_at":"2022-12-08T10:49:52.000Z","size":55,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T11:23:37.498Z","etag":null,"topics":["example","flask","oidc","openidconnect","plusauth","python","python3"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlusAuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-19T15:46:05.000Z","updated_at":"2022-01-17T07:56:02.000Z","dependencies_parsed_at":"2023-01-25T11:46:15.958Z","dependency_job_id":null,"html_url":"https://github.com/PlusAuth/plusauth-python-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-python-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-python-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-python-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-python-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlusAuth","download_url":"https://codeload.github.com/PlusAuth/plusauth-python-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245459597,"owners_count":20618889,"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":["example","flask","oidc","openidconnect","plusauth","python","python3"],"created_at":"2024-12-03T07:16:02.561Z","updated_at":"2025-03-25T12:23:54.425Z","avatar_url":"https://github.com/PlusAuth.png","language":"HTML","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://plusauth.com/\"\u003e\n    \u003cimg src=\"https://docs.plusauth.com/favicon.png\" alt=\"Logo\" width=\"144\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003ePlusAuth Python Flask Starter Project\u003c/h1\u003e\n\n \u003cp align=\"center\"\u003e\n    Simple Python Flask project demonstrates basic authentication flows with PlusAuth\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://docs.plusauth.com/quickStart/web/python/flask\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Python Flask docs »\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#what-is-plusauth\"\u003eWhat is PlusAuth\u003c/a\u003e\u003c/li\u003e\n \u003c/ol\u003e\n\u003c/details\u003e\n\n---\n\n## About The Project\n\nIt is a simple Python Flask project demonstrating basic authentication flows such as register, login, and logout. To keep things simple, Flask is used as the server framework and `flask-pyoidc` for authentication.\n\n## Prerequisites\n\nBefore running the project, you must first follow these steps:\n\n1. Create a PlusAuth account and a tenant at https://dashboard.plusauth.com\n2. Navigate to the `Clients` tab. Create a client of type `Regular Web Application`\n3. Go to the details page of the client that you've just created and set the following fields as:\n\n- Redirect Uris: http://localhost:3000/login/callback\n- Post-Logout Redirect Uris: http://localhost:3000/logout\n\nFinally, write down your Client Id and Client Secret for server configuration\n\n## Getting Started\n\nFirst, we need to configure the server. Rename `.env.example` file as just`.env`.\n\nThen configure the `.env` file using your Client Id, Client Secret, and PlusAuth tenant name.\n\nFinally, install requirements \u0026 start the server:\n\n### Using Pip\n\n        pip3 install -r requirements.txt\n        python3 index.py\n\n### Using Pipenv\n\n        pipenv install\n        pipenv run python3 index.py\n\nThe example is hosted at http://localhost:3000/\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n\n## What is PlusAuth\n\nPlusAuth helps individuals, teams, and organizations to implement authorization and authentication systems in a secure, flexible and easy way.\n\n\u003ca href=\"https://plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Website »\u003c/strong\u003e\u003c/a\u003e\n\n\u003ca href=\"https://docs.plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Docs »\u003c/strong\u003e\u003c/a\u003e\n\n\u003ca href=\"https://forum.plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Forum »\u003c/strong\u003e\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusauth%2Fplusauth-python-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplusauth%2Fplusauth-python-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusauth%2Fplusauth-python-starter/lists"}