{"id":22327437,"url":"https://github.com/rewindio/omniauth-azure-devops","last_synced_at":"2025-07-29T18:31:01.051Z","repository":{"id":196531046,"uuid":"695240624","full_name":"rewindio/omniauth-azure-devops","owner":"rewindio","description":"Authenticate using the Azure Devops OAuth2 API.","archived":false,"fork":false,"pushed_at":"2025-06-10T13:32:02.000Z","size":48,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-11T06:50:05.084Z","etag":null,"topics":["jira--pe"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/rewindio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-22T17:01:39.000Z","updated_at":"2025-06-10T13:36:56.000Z","dependencies_parsed_at":"2025-03-28T16:34:52.524Z","dependency_job_id":null,"html_url":"https://github.com/rewindio/omniauth-azure-devops","commit_stats":null,"previous_names":["rewindio/omniauth-azure-devops"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rewindio/omniauth-azure-devops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Fomniauth-azure-devops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Fomniauth-azure-devops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Fomniauth-azure-devops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Fomniauth-azure-devops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rewindio","download_url":"https://codeload.github.com/rewindio/omniauth-azure-devops/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Fomniauth-azure-devops/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267471273,"owners_count":24092627,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["jira--pe"],"created_at":"2024-12-04T03:09:26.321Z","updated_at":"2025-07-29T18:31:00.747Z","avatar_url":"https://github.com/rewindio.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OmniAuth Azure DevOps Strategy\n\nOmniAuth Azure DevOps is a Ruby gem that provides authentication for your Ruby applications via the Azure DevOps OAuth 2.0 authentication system.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'omniauth-azure-devops'\n```\n\nAnd then execute:\n\n```bash\nbundle install\n```\n\n## Usage\n\n1. Register your application with Azure DevOps to obtain the `AZURE_DEVOPS_CLIENT_ID` and `AZURE_DEVOPS_CLIENT_SECRET` credentials.\n\n2. In your application configuration, add the following line to use the Azure DevOps OmniAuth strategy:\n\n   ```ruby\n   provider :azure_devops, ENV['AZURE_DEVOPS_CLIENT_ID'], ENV['AZURE_DEVOPS_CLIENT_SECRET'], scope: 'vso.auditlog etc...', callback_path: '/link/azure_devops/oauth_callback'\n   ```\n\n   Replace `ENV['AZURE_DEVOPS_CLIENT_ID']` and `ENV['AZURE_DEVOPS_CLIENT_SECRET']` with your Azure DevOps client credentials.\n\n3. Implement the necessary routes and views to initiate the authentication process and handle the callback.\n\n4. When users access the authentication route, they will be redirected to Azure DevOps for authentication. After successful authentication, Azure DevOps will redirect them back to your specified callback URL.\n\n5. Access user information and tokens as needed in your application by utilizing the OmniAuth authentication data.\n\n## Running Tests\n\nYou can run the test suite using the following command:\n\n```bash\nrake spec\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the spec. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [https://github.com/rewindio/omniauth-azure-devops](https://github.com/rewindio/omniauth-azure-devops). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org) code of conduct.\n\n## License\n\nThis gem is available as open-source software under the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frewindio%2Fomniauth-azure-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frewindio%2Fomniauth-azure-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frewindio%2Fomniauth-azure-devops/lists"}