File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ protected function getTokenUrl(): string
2727 */
2828 protected function getUserByToken ($ token )
2929 {
30- $ response = $ this ->getHttpClient ()->get ($ this ->getInstanceUri ().'0 /me.json ' , [
30+ $ response = $ this ->getHttpClient ()->get ($ this ->getInstanceUri ().'api /me ' , [
3131 RequestOptions::HEADERS => [
3232 'Authorization ' => 'Bearer ' .$ token ,
3333 ],
@@ -52,7 +52,7 @@ protected function mapUserToObject(array $user)
5252
5353 protected function getInstanceUri ()
5454 {
55- return $ this ->getConfig ('instance_uri ' , 'https://api .fablabs.io/ ' );
55+ return $ this ->getConfig ('instance_uri ' , 'https://www .fablabs.io/ ' );
5656 }
5757
5858 public static function additionalConfigKeys (): array
Original file line number Diff line number Diff line change @@ -66,5 +66,4 @@ return Socialite::driver('fablabs')->redirect();
6666
6767### Reference
6868
69- - [ Fablabs.io] ( https://fablabs.io/ ) ;
70- - [ OAuth authorization Docs] ( https://docs.fablabs.io/ ) ;
69+ - [ Fablabs.io] ( https://www.fablabs.io/oauth/applications ) (Login and go to the Developer Console)
You can’t perform that action at this time.
0 commit comments