{"id":24143696,"url":"https://github.com/is2ei/omniauth-typetalk","last_synced_at":"2025-03-01T14:19:17.328Z","repository":{"id":56886626,"uuid":"163003313","full_name":"is2ei/omniauth-typetalk","owner":"is2ei","description":"Typetalk OAuth2 Strategy for OmniAuth","archived":false,"fork":false,"pushed_at":"2019-01-24T12:25:04.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T16:04:43.889Z","etag":null,"topics":["typetalk"],"latest_commit_sha":null,"homepage":null,"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/is2ei.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}},"created_at":"2018-12-24T15:28:42.000Z","updated_at":"2019-01-24T12:22:54.000Z","dependencies_parsed_at":"2022-08-20T14:31:25.758Z","dependency_job_id":null,"html_url":"https://github.com/is2ei/omniauth-typetalk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fomniauth-typetalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fomniauth-typetalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fomniauth-typetalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fomniauth-typetalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/is2ei","download_url":"https://codeload.github.com/is2ei/omniauth-typetalk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241374731,"owners_count":19952578,"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":["typetalk"],"created_at":"2025-01-12T05:28:17.915Z","updated_at":"2025-03-01T14:19:17.303Z","avatar_url":"https://github.com/is2ei.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"omniauth-typetalk\n===\n\n[![Build Status](https://travis-ci.org/is2ei/omniauth-typetalk.svg?branch=master)][travis]\n[![Gem Version](https://img.shields.io/gem/v/omniauth-typetalk.svg)][rubygems]\n\n[travis]: https://travis-ci.org/is2ei/omniauth-typetalk\n[rubygems]: https://rubygems.org/gems/omniauth-typetalk\n\nTypetalk OAuth2 Strategy for OmniAuth\n\n## Basic Usage\n\n```ruby\nuse OmniAuth::Builder do\n  provider :typetalk, ENV['TYPETALK_KEY'], ENV['TYPETALK_SECRET']\nend \n```\n\n## Sinatra Example\n\n```ruby\nrequire 'sinatra'\nrequire 'omniauth'\nrequire 'omniauth-typetalk'\n\nuse Rack::Session::Cookie\nuse OmniAuth::Builder do\n  provider :typetalk, ENV['TYPETALK_KEY'], ENV['TYPETALK_SECRET'], scope: \"my topic.read\"\nend\n\nget '/' do\n  \u003c\u003c-HTML\n  \u003ca href='/auth/typetalk'\u003eSign in with Typetalk\u003c/a\u003e\n  HTML\nend\n\nget '/auth/:name/callback' do\n  auth = request.env['omniauth.auth']\n\n  \u003c\u003c-HTML\n  \u003cp\u003e[Profile]\u003c/p\u003e\n  \u003cp\u003eid: #{auth.info.id}\u003c/p\u003e\n  \u003cp\u003ename: #{auth.info.name}\u003c/p\u003e\n  \u003cp\u003efullName: #{auth.info.fullName}\u003c/p\u003e\n  \u003cp\u003esuggestion: #{auth.info.suggestion}\u003c/p\u003e\n  \u003cp\u003eimageUrl: #{auth.info.imageUrl}\u003c/p\u003e\n  \u003cp\u003ecreatedAt: #{auth.info.createdAt}\u003c/p\u003e\n  HTML\nend\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fis2ei%2Fomniauth-typetalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fis2ei%2Fomniauth-typetalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fis2ei%2Fomniauth-typetalk/lists"}