Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
banners-with-skip
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
d0d87e88
authored
2017-01-13 11:27:14 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
58c1499e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
signin.php
signin.php
View file @
d0d87e8
...
...
@@ -104,8 +104,10 @@ $app->post('/connect', function (Request $request) use ($app, $client) {
$code
=
$request
->
getContent
();
// Exchange the OAuth 2.0 authorization code for user credentials.
error_log
(
$client
->
authenticate
(
$code
)
);
$client
->
authenticate
(
$code
);
$token
=
json_decode
(
$client
->
getAccessToken
());
$_SESSION
[
'token'
]
=
$token
;
...
...
Please
register
or
sign in
to post a comment