{"id":19196987,"url":"https://github.com/jitesoft/socialite-jb-hub","last_synced_at":"2026-06-11T20:31:16.627Z","repository":{"id":56999477,"uuid":"78279877","full_name":"jitesoft/socialite-jb-hub","owner":"jitesoft","description":"Laravel Socialite Jebrains HUB provider.","archived":false,"fork":false,"pushed_at":"2022-07-08T12:12:00.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-21T01:49:25.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/jitesoft.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":"2017-01-07T13:14:32.000Z","updated_at":"2022-07-08T12:10:55.000Z","dependencies_parsed_at":"2022-08-21T13:50:57.937Z","dependency_job_id":null,"html_url":"https://github.com/jitesoft/socialite-jb-hub","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jitesoft/socialite-jb-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fsocialite-jb-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fsocialite-jb-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fsocialite-jb-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fsocialite-jb-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitesoft","download_url":"https://codeload.github.com/jitesoft/socialite-jb-hub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fsocialite-jb-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34217312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2024-11-09T12:15:05.802Z","updated_at":"2026-06-11T20:31:16.601Z","avatar_url":"https://github.com/jitesoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Socialite provider: Jetbrains HUB.\n\n```bash\nrequire jitesoft/socialite-hub\n```\n\nRequire socialite and add the `SocialiteServiceProvider` and `Manager\\ServiceProvider` to the providers array in the `app.php` file:\n\n```php\n'providers' =\u003e [\n    Laravel\\Socialite\\SocialiteServiceProvider::class,\n    SocialiteProviders\\Manager\\ServiceProvider::class,\n]\n```\n\nIf wanted, you can add the Socialite facade to the alias class (I prefer and recommend this):\n\n```php\n'aliases' =\u003e [\n    'Socialite' =\u003e Laravel\\Socialite\\Facades\\Socialite::class\n]\n```\n\nAdd the provider to the 'services' config array:\n\n```php\nreturn [\n    'jetbrains-hub' =\u003e [\n        'client_id'     =\u003e env('JB_HUB_CLIENT_ID', ''),\n        'client_secret' =\u003e env('JB_HUB_CLIENT_SECRET', ''),\n        'base_url'      =\u003e env('JB_HUB_URL', 'https://hub.yourpage.tld'),\n        'redirect'      =\u003e env('APP_URL', 'http://localhost') . \"/your/callback\"\n    ],\n];\n```\n\nAdd the socialite extension to the events provider:\n\n```php\nprotected $listen = [\n    SocialiteWasCalled::class =\u003e [\n        JetbrainsHubExtendSocialite::class . \"@handle\"\n    ]\n];\n```\n\nAdd your callback routes:\n\n```php\n$router-\u003eget('/your/redirect', function() {        \n    // Redirect!\n    return Socialite::driver('jetbrains-hub')-\u003eredirect();\n});\n\n$router-\u003eget('/your/callback', function() {\n    $user = Socialite::driver('jetbrains-hub')-\u003euser();\n    // Yay you got your user (I hope!)    \n});\n```\n\nCreate a login form and redirect a button to the `your/redirect`-endpoint. \n\n## License\n```\nMIT License\n  \n  Copyright (c) 2017 JiteSoft\n  \n  Permission is hereby granted, free of charge, to any person obtaining a copy\n  of this software and associated documentation files (the \"Software\"), to deal\n  in the Software without restriction, including without limitation the rights\n  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n  copies of the Software, and to permit persons to whom the Software is\n  furnished to do so, subject to the following conditions:\n  \n  The above copyright notice and this permission notice shall be included in all\n  copies or substantial portions of the Software.\n  \n  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n  SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fsocialite-jb-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitesoft%2Fsocialite-jb-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fsocialite-jb-hub/lists"}