{"id":19389039,"url":"https://github.com/ryanwi/omniauth-signalwire","last_synced_at":"2025-02-24T20:02:55.660Z","repository":{"id":225087205,"uuid":"764940522","full_name":"ryanwi/omniauth-signalwire","owner":"ryanwi","description":"OmniAuth strategy for authenticating to SignalWire","archived":false,"fork":false,"pushed_at":"2024-02-29T22:59:31.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T18:11:22.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developer.signalwire.com","language":"Ruby","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/ryanwi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-02-29T01:33:15.000Z","updated_at":"2024-02-29T06:33:21.000Z","dependencies_parsed_at":"2024-02-29T07:31:15.420Z","dependency_job_id":"b0c260b3-5848-4629-86a5-2c105a12ee0d","html_url":"https://github.com/ryanwi/omniauth-signalwire","commit_stats":null,"previous_names":["ryanwi/omniauth-signalwire"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fomniauth-signalwire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fomniauth-signalwire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fomniauth-signalwire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fomniauth-signalwire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanwi","download_url":"https://codeload.github.com/ryanwi/omniauth-signalwire/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240549437,"owners_count":19819131,"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-10T10:14:33.138Z","updated_at":"2025-02-24T20:02:55.639Z","avatar_url":"https://github.com/ryanwi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Ruby](https://github.com/ryanwi/omniauth-signalwire/actions/workflows/ruby.yml/badge.svg)](https://github.com/ryanwi/omniauth-signalwire/actions/workflows/ruby.yml)\n\n# OmniAuth SignalWire\n\nThis is an OmniAuth strategy for authenticating to SignalWire.\n\n## Installation\n\n```ruby\ngem 'omniauth-signalwire', '~\u003e 0.1'\n```\n\n## Basic Usage\n\n```ruby\n  use OmniAuth::Builder do\n    provider :signalwire, ENV['SIGNALWIRE_KEY'], ENV['SIGNALWIRE_SECRET']\n  end\n```\n\n## Basic Usage Rails\n\nIn `config/initializers/signalwire.rb`\n\n```ruby\n  Rails.application.config.middleware.use OmniAuth::Builder do\n    provider :signalwire, ENV['SIGNALWIRE_KEY'], ENV['SIGNALWIRE_SECRET']\n  end\n```\n\n## Authentication Hash\nAn example auth hash available in `request.env['omniauth.auth']`:\n\n```\n{\n  :provider =\u003e \"signalwire\",\n  :uid =\u003e \"4d1bcf6e-88ed-4cfa-87bb-b986cd65678e\",\n  :info =\u003e {\n    :email =\u003e \"user@example.com\",\n    :first_name =\u003e \"Jane\",\n    :last_name =\u003e \"Doe\",\n    :display_name =\u003e \"Jane Doe\",\n    ...\n  },\n  :credentials =\u003e {\n    :token =\u003e \"a1b2c3d4...\", # The OAuth 2.0 access token\n    :refresh_token =\u003e \"2QY...\",\n    :expires_at =\u003e 1709194759,\n    :expires =\u003e true\n  },\n  :extra = {\n    :raw_info =\u003e {\n      ...\n    }\n  }\n}\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ryanwi/omniauth-signalwire.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwi%2Fomniauth-signalwire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanwi%2Fomniauth-signalwire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwi%2Fomniauth-signalwire/lists"}