{"id":19149573,"url":"https://github.com/zeriontech/socialite-zerion","last_synced_at":"2025-12-30T16:24:33.540Z","repository":{"id":57090100,"uuid":"115022748","full_name":"zeriontech/socialite-zerion","owner":"zeriontech","description":"Social OAuth Authentication for Laravel 5. Driver Zerion SSO","archived":true,"fork":false,"pushed_at":"2018-02-15T08:38:33.000Z","size":8,"stargazers_count":28,"open_issues_count":0,"forks_count":35,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-23T09:49:45.136Z","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/zeriontech.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-12-21T15:55:55.000Z","updated_at":"2025-02-19T10:40:36.000Z","dependencies_parsed_at":"2022-08-20T16:01:04.956Z","dependency_job_id":null,"html_url":"https://github.com/zeriontech/socialite-zerion","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsocialite-zerion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsocialite-zerion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsocialite-zerion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsocialite-zerion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeriontech","download_url":"https://codeload.github.com/zeriontech/socialite-zerion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249727505,"owners_count":21316675,"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-09T08:08:47.021Z","updated_at":"2025-12-13T11:09:52.343Z","avatar_url":"https://github.com/zeriontech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerion OAuth2 Provider for Laravel Socialite\n\n### 1. Installation\n\n`composer require zeriontech/socialite-zerion`\n\n### 2. Service Provider\n\n* Remove `Laravel\\Socialite\\SocialiteServiceProvider` from your `providers[]` array in `config\\app.php` if you have added it already.\n* Add `SocialiteProviders\\Manager\\ServiceProvider` to your `providers[]` array in `config\\app.php`.\n\nFor example:\n```php\n'providers' =\u003e [\n    // a whole bunch of providers\n    // remove 'Laravel\\Socialite\\SocialiteServiceProvider',\n    SocialiteProviders\\Manager\\ServiceProvider::class, // add\n];\n```\n* Note: If you would like to use the Socialite Facade, you need to [install it](http://laravel.com/docs/5.2/authentication#social-authentication).\n\n### 3. Add the Event and Listeners\n\n* Add `SocialiteProviders\\Manager\\SocialiteWasCalled::class` event to your `listen[]` array in `\u003capp_name\u003e/Providers/EventServiceProvider`.\n\n* Add your listeners (i.e. the ones from the providers) to the `SocialiteProviders\\Manager\\SocialiteWasCalled[]` that you just created.\n\n* The listener that you add for this provider is `ZerionTech\\SocialiteProviders\\Zerion\\ZerionExtendSocialite@handle`.\n\n* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.\n\nFor example:\n```php\n/**\n * The event handler mappings for the application.\n *\n * @var array\n */\nprotected $listen = [\n    \\SocialiteProviders\\Manager\\SocialiteWasCalled::class =\u003e [\n        'ZerionTech\\SocialiteProviders\\Zerion\\ZerionExtendSocialite@handle'\n    ],\n];\n```\n\n### 4. Services Array and .env\n\nAdd to `config/services.php`:\n```php\n'zerion' =\u003e [\n    'client_id'     =\u003e env('ZERION_ID'),\n    'client_secret' =\u003e env('ZERION_SECRET'),\n    'redirect'      =\u003e env('ZERION_REDIRECT'),\n],\n```\n\nAppend provider values to your `.env` file:\n**Note: Add both public and secret keys!**\n```\n// other values above\nZERION_ID=your_app_id_for_the_service\nZERION_SECRET=your_app_secret_for_the_service\nZERION_REDIRECT=https://example.com/login\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeriontech%2Fsocialite-zerion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeriontech%2Fsocialite-zerion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeriontech%2Fsocialite-zerion/lists"}