{"id":28420633,"url":"https://github.com/redhat-developer/vscode-redhat-account","last_synced_at":"2025-06-26T17:32:04.351Z","repository":{"id":41416162,"uuid":"313375396","full_name":"redhat-developer/vscode-redhat-account","owner":"redhat-developer","description":"Provides authentication support for Red Hat accounts in Visual Studio Code.","archived":false,"fork":false,"pushed_at":"2024-04-04T17:35:23.000Z","size":397,"stargazers_count":6,"open_issues_count":2,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-05T05:29:12.656Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-developer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-16T17:20:15.000Z","updated_at":"2024-04-04T22:53:06.000Z","dependencies_parsed_at":"2023-01-25T08:00:33.417Z","dependency_job_id":null,"html_url":"https://github.com/redhat-developer/vscode-redhat-account","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/redhat-developer/vscode-redhat-account","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fvscode-redhat-account","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fvscode-redhat-account/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fvscode-redhat-account/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fvscode-redhat-account/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-developer","download_url":"https://codeload.github.com/redhat-developer/vscode-redhat-account/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fvscode-redhat-account/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262113348,"owners_count":23261009,"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":"2025-06-05T03:48:55.958Z","updated_at":"2025-06-26T17:32:04.342Z","avatar_url":"https://github.com/redhat-developer.png","language":"TypeScript","readme":"[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/redhat.vscode-redhat-account?style=for-the-badge\u0026label=VS%20Marketplace\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-redhat-account)\n\n\n# Red Hat Authentication\n\nProvides authentication support for Red Hat accounts in Visual Studio Code.\n\n- Authenticate against https://sso.redhat.com/ with the `redhat-account-auth` authentication provider\n```typescript\nconst session = await authentication.getSession('redhat-account-auth', ['openid'], { createIfNone: true });\nif (session) {\n\t// use access token\n\tdoSomething(session.accessToken);\n}\t\n```\n\n## Testing\n\nAn interactive test scenario is available. It requires a user account and it will rely on the local web browser. You can run it with:\n\n```shell\nnpm run interactive-test\n```\n\n## Build\n\n`vscode-redhat-account` supports Node 18 or greater.\n\nIn a terminal, run:\n```\nnpm install\nnpx vsce package\n```\n\nInstall the generated vscode-redhat-account-*.vsix file.\n\n## Telemetry\n\nWith your approval, the `Red Hat Authentication` extension collects anonymous [usage data](USAGE_DATA.md) and sends it to Red Hat servers to help improve our products and services.\nRead our [privacy statement](https://developers.redhat.com/article/tool-data-collection) to learn more.\nThis extension respects the `redhat.telemetry.enabled` setting, which you can learn more about at https://github.com/redhat-developer/vscode-redhat-telemetry#how-to-disable-telemetry-reporting\n\n\n## CI Builds\n- Go to the [CI Workflow](https://github.com/redhat-developer/vscode-redhat-account/actions/workflows/CI.yml?query=branch%3Amain+is%3Asuccess++) page, \n- Click on the latest successful build\n- Download and unzip the latest vscode-redhat-account artifact\n- Install the vscode-redhat-account-*.vsix file.\n\n## License\nCopyright (c) Red Hat, Inc. All rights reserved.\n\nLicensed under the [MIT](LICENSE.txt) license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-developer%2Fvscode-redhat-account","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-developer%2Fvscode-redhat-account","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-developer%2Fvscode-redhat-account/lists"}