Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1638e7b7
authored
2016-07-20 13:06:41 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed call back
1 parent
8a1c6ec4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
1638e7b
...
...
@@ -37,7 +37,7 @@ class GoogledriveuploadpdfController extends Controller
$client
->
setScopes
(
array
(
'https://www.googleapis.com/auth/drive.file'
));
$client
->
setClientId
(
'206523860143-kgs80emhfm1sof79nggd48gnhbl1j6ei.apps.googleusercontent.com'
);
$client
->
setClientSecret
(
'qmUMAi09SU4wU4R3uOkvsiwK'
);
$client
->
setRedirectUri
(
'http://pdf-customizer.synapsus.co/
/public/
auth/google/token'
);
$client
->
setRedirectUri
(
'http://pdf-customizer.synapsus.co/auth/google/token'
);
//$client->setRedirectUri('http://localhost:8888/pdf-customizer/public/auth/google/token');
...
...
@@ -101,8 +101,8 @@ class GoogledriveuploadpdfController extends Controller
$client
->
setScopes
(
array
(
'https://www.googleapis.com/auth/drive.file'
));
$client
->
setClientId
(
'206523860143-kgs80emhfm1sof79nggd48gnhbl1j6ei.apps.googleusercontent.com'
);
$client
->
setClientSecret
(
'qmUMAi09SU4wU4R3uOkvsiwK'
);
//$client->setRedirectUri('http://pdf-customizer.synapsus.co/auth/google/token
');
$client
->
setRedirectUri
(
'http://localhost:8888/pdf-customizer/public/auth/google/tokenCallback'
);
$client
->
setRedirectUri
(
'http://pdf-customizer.synapsus.co/auth/google/tokenCallback
'
);
//
$client->setRedirectUri('http://localhost:8888/pdf-customizer/public/auth/google/tokenCallback');
$client
->
setAccessType
(
'offline'
);
if
(
isset
(
$_GET
[
'code'
]))
{
...
...
Please
register
or
sign in
to post a comment