You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add your credentials to ``app/config/packages/artdarek/oauth-4-laravel/config.php``
73
+
(Option 2) Create configuration file manually in config directory ``app/config/oauth-4-laravel.php`` and put there code from below.
84
74
85
75
```php
86
76
return array(
@@ -115,6 +105,26 @@ return array(
115
105
);
116
106
```
117
107
108
+
109
+
### Registering the Package
110
+
111
+
Add an alias to the bottom of app/config/app.php
112
+
113
+
```php
114
+
'OAuth' => 'Artdarek\OAuth\Facade\OAuth',
115
+
```
116
+
117
+
and register this service provider at the bottom of the `$providers` array:
118
+
119
+
```php
120
+
'Artdarek\OAuth\OAuthServiceProvider',
121
+
```
122
+
123
+
### Credentials
124
+
125
+
Add your credentials to ``app/config/packages/artdarek/oauth-4-laravel/config.php`` or ``app/config/oauth-4-laravel.php`` (depending on which option of configuration you choose)
126
+
127
+
118
128
The `Storage` attribute is optional and defaults to `Session`.
119
129
Other [options](https://github.com/Lusitanian/PHPoAuthLib/tree/master/src/OAuth/Common/Storage).
0 commit comments