{"id":22235018,"url":"https://github.com/kharkevich/web-cli-oidc-sso","last_synced_at":"2026-04-30T00:34:24.377Z","repository":{"id":264942576,"uuid":"894319806","full_name":"kharkevich/web-cli-oidc-sso","owner":"kharkevich","description":"Demo web and cli application to demonstrate SSO (OIDC) integration","archived":false,"fork":false,"pushed_at":"2024-12-01T01:16:15.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T15:17:23.217Z","etag":null,"topics":["flask","oidc","private-api","public-api","sso"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kharkevich.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-26T06:32:56.000Z","updated_at":"2024-12-01T01:16:18.000Z","dependencies_parsed_at":"2025-01-30T08:41:32.381Z","dependency_job_id":"d5f1ab4d-cfcb-45d2-8f24-a411296a9d3e","html_url":"https://github.com/kharkevich/web-cli-oidc-sso","commit_stats":null,"previous_names":["kharkevich/web-cli-oidc-sso"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kharkevich/web-cli-oidc-sso","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kharkevich%2Fweb-cli-oidc-sso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kharkevich%2Fweb-cli-oidc-sso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kharkevich%2Fweb-cli-oidc-sso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kharkevich%2Fweb-cli-oidc-sso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kharkevich","download_url":"https://codeload.github.com/kharkevich/web-cli-oidc-sso/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kharkevich%2Fweb-cli-oidc-sso/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32450085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"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":["flask","oidc","private-api","public-api","sso"],"created_at":"2024-12-03T02:11:09.598Z","updated_at":"2026-04-30T00:34:24.361Z","avatar_url":"https://github.com/kharkevich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI-Auth\n\n## Overview\n\nCLI-Auth is a demonstration application that showcases Single Sign-On (SSO) integration using OpenID Connect (OIDC) for both web and CLI applications. This project aims to provide a comprehensive example of how to implement SSO in different types of applications.\n\n## Features\n\n- SSO integration using OIDC\n- Web application authentication\n- CLI application authentication\n\n## Prerequisites\n\n- Node.js\n- npm or yarn\n- An OIDC provider (e.g., Auth0, Okta)\n\n## Setup\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/kharkevich/web-cli-oidc-sso\n    cd cli-auth\n    ```\n\n2. Install dependencies:\n    ```sh\n    npm install\n    # or\n    yarn install\n    ```\n\n3. Configure OIDC provider:\n    - Create an application in your OIDC provider.\n    - Note down the client ID, client secret, and issuer URL.\n\n4. Create a `.env` file in the root directory and add the following environment variables:\n    ```env\n    CLIENT_ID=your_client_id\n    CLIENT_SECRET=your_client_secret\n    ISSUER_URL=your_issuer_url\n    ```\n\n## Running the Application\n\n### Web Application\n\n1. Start the web application:\n    ```sh\n    npm run start:web\n    # or\n    yarn start:web\n    ```\n\n2. Open your browser and navigate to `http://localhost:3000`.\n\n### CLI Application\n\n1. Start the CLI application:\n    ```sh\n    npm run start:cli\n    # or\n    yarn start:cli\n    ```\n\n2. Follow the prompts to authenticate via the CLI.\n\n## License\n\nThis project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## Acknowledgements\n\n- [OpenID Connect](https://openid.net/connect/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkharkevich%2Fweb-cli-oidc-sso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkharkevich%2Fweb-cli-oidc-sso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkharkevich%2Fweb-cli-oidc-sso/lists"}