{"id":15890725,"url":"https://github.com/distroid/vkauth","last_synced_at":"2025-04-02T17:22:12.753Z","repository":{"id":17630369,"uuid":"20434663","full_name":"distroid/VkAuth","owner":"distroid","description":"Auth class for vk.com","archived":false,"fork":false,"pushed_at":"2014-06-05T10:22:31.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T08:10:27.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/distroid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-03T08:12:34.000Z","updated_at":"2014-06-05T10:22:31.000Z","dependencies_parsed_at":"2022-09-16T04:01:44.243Z","dependency_job_id":null,"html_url":"https://github.com/distroid/VkAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distroid%2FVkAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distroid%2FVkAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distroid%2FVkAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distroid%2FVkAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distroid","download_url":"https://codeload.github.com/distroid/VkAuth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246856874,"owners_count":20845039,"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-10-06T07:07:54.871Z","updated_at":"2025-04-02T17:22:12.731Z","avatar_url":"https://github.com/distroid.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"VkAuth\n======\n\nAuth class for login vk.com\n\n\u003ch3\u003eHow to use\u003c/h3\u003e\n\n\u003col\u003e\n\t\u003cli\u003eFirst create aplication on vk.com\u003c/li\u003e\n\t\u003cli\u003eCreate action login by vk.com\n\u003cpre\u003edef login_by_vk\n\t@options = {\n\t\t'client_id'         =\u003e [your_app_client_id],    # required\n\t\t'redirect_uri'      =\u003e [callback_action],       # required\n\t}\n\tredirect_to VkAuth.new(@options).get_auth_url\nend\u003c/pre\u003e\u003c/li\u003e\n\t\u003cli\u003eCreate callback action\n\u003cpre\u003edef login_by_vk_callback\n\t@options = {\n\t\t'client_id'         =\u003e [your_app_client_id],                      # required\n\t\t'redirect_uri'      =\u003e [callback_action],                         # required\n\t\t'client_secret'     =\u003e [your_app_client_secret],                  # required\n\t\t'user_fields'       =\u003e \"uid,first_name,last_name,screen_name\",    # optional\n\t}\n\tuserdata = VkAuth.new(@options).get_user_data(request.GET[\"code\"])\nend\u003c/pre\u003e\u003c/li\u003e\n  \u003cli\u003eSave userdata in DB and login him\u003c/li\u003e\n\u003c/ol\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistroid%2Fvkauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistroid%2Fvkauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistroid%2Fvkauth/lists"}