{"action":"created","issue":{"url":"https://api.github.com/repos/kalley/laravel-oauth-client/issues/2","labels_url":"https://api.github.com/repos/kalley/laravel-oauth-client/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kalley/laravel-oauth-client/issues/2/comments","events_url":"https://api.github.com/repos/kalley/laravel-oauth-client/issues/2/events","html_url":"https://github.com/kalley/laravel-oauth-client/issues/2","id":79596254,"number":2,"title":"Adding new provider","user":{"login":"codivist","id":660284,"avatar_url":"https://avatars.githubusercontent.com/u/660284?v=3","gravatar_id":"","url":"https://api.github.com/users/codivist","html_url":"https://github.com/codivist","followers_url":"https://api.github.com/users/codivist/followers","following_url":"https://api.github.com/users/codivist/following{/other_user}","gists_url":"https://api.github.com/users/codivist/gists{/gist_id}","starred_url":"https://api.github.com/users/codivist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codivist/subscriptions","organizations_url":"https://api.github.com/users/codivist/orgs","repos_url":"https://api.github.com/users/codivist/repos","events_url":"https://api.github.com/users/codivist/events{/privacy}","received_events_url":"https://api.github.com/users/codivist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T20:24:38Z","updated_at":"2015-05-22T20:42:57Z","closed_at":null,"body":"I'm trying to add my own Stripe provider.  I'm using https://github.com/chrsm/league-oauth2-stripe for the Stripe Provider, and when I set up my StripeFacade, I get the following error:\r\n```\r\nUndefined index: stripe\r\nin\r\n/srv/www/practiscore.dev/deploy/matchReg/vendor/kalley/laravel-oauth-client/src/Kalley/LaravelOauthClient/AbstractOAuthClient.php\r\non\r\nline 26\r\n```\r\nHow do I go about adding a custom provider with the facade?\r\n\r\nHere is my facade:\r\n```php\r\n<?php\r\n\r\nnamespace Practiscore\\Facades;\r\n\r\nuse Illuminate\\Support\\Facades\\Facade;\r\n\r\nclass StripeFacade extends Facade {\r\n\r\n\t/**\r\n\t * Get the registered name of the component\r\n\t * @return string\r\n\t * @codeCoverageIgnore\r\n\t */\r\n\tprotected static function getFacadeAccessor() {\r\n\t\treturn 'oauth-client.stripe';\r\n\t}\r\n\r\n}\r\n```\r\nAnd have this in my oauth-client.php config file:\r\n```php\r\n'providers' => [\r\n\t\t'Facebook' => [...],\r\n\r\n\t\t'Github'   => [...],\r\n\r\n\t\t'Stripe' => [\r\n\t\t\t'clientId'     => 'myClientID',\r\n\t\t\t'clientSecret' => 'myClientSecret',\r\n\t\t\t'redirectUri'  => 'https://myexample.com/stripe/incoming',\r\n\t\t],\r\n\r\n\t],\r\n```\r\nAlso added the alias in app.php"},"comment":{"url":"https://api.github.com/repos/kalley/laravel-oauth-client/issues/comments/104762695","html_url":"https://github.com/kalley/laravel-oauth-client/issues/2#issuecomment-104762695","issue_url":"https://api.github.com/repos/kalley/laravel-oauth-client/issues/2","id":104762695,"user":{"login":"geofflancaster","id":828799,"avatar_url":"https://avatars.githubusercontent.com/u/828799?v=3","gravatar_id":"","url":"https://api.github.com/users/geofflancaster","html_url":"https://github.com/geofflancaster","followers_url":"https://api.github.com/users/geofflancaster/followers","following_url":"https://api.github.com/users/geofflancaster/following{/other_user}","gists_url":"https://api.github.com/users/geofflancaster/gists{/gist_id}","starred_url":"https://api.github.com/users/geofflancaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geofflancaster/subscriptions","organizations_url":"https://api.github.com/users/geofflancaster/orgs","repos_url":"https://api.github.com/users/geofflancaster/repos","events_url":"https://api.github.com/users/geofflancaster/events{/privacy}","received_events_url":"https://api.github.com/users/geofflancaster/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T20:42:57Z","updated_at":"2015-05-22T20:42:57Z","body":"I haven't tried to replicate your code but at quick glance, PHP array keys are case sensitive. I'd try to sync those up.\r\n\r\nexample:\r\n\r\nprotected static function getFacadeAccessor() {\r\n        return 'oauth-client.Stripe';\r\n    }\r\n\r\n\r\nor\r\n'providers' => [\r\n        'facebook' => [...],\r\n\r\n        'github'   => [...],\r\n\r\n        'stripe' => [\r\n            'clientId'     => 'myClientID',\r\n            'clientSecret' => 'myClientSecret',\r\n            'redirectUri'  => 'https://myexample.com/stripe/incoming',\r\n        ],\r\n\r\n    ],\r\n"}}