Toggle navigation
Toggle navigation
This project
Loading...
Sign in
UT
/
oauth_2-0_client_php
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
Authored by
bashofmann
2010-08-09 14:50:16 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fc6efe7842bd7b3fb1f381c57dfddf6d2197cac0
fc6efe78
1 parent
d2b36b4c
added response_type to authorize call
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
oauth2.php
oauth2.php
View file @
fc6efe7
...
...
@@ -107,7 +107,8 @@ class OAuth2_Service
$parameters
=
array
(
'type'
=>
'web_server'
,
'client_id'
=>
$this
->
_client
->
getClientKey
(),
'redirect_uri'
=>
$this
->
_client
->
getCallbackUrl
()
'redirect_uri'
=>
$this
->
_client
->
getCallbackUrl
(),
'response_type'
=>
'code'
,
);
if
(
$this
->
_scope
)
{
$parameters
[
'scope'
]
=
$this
->
_scope
;
...
...
Please
register
or
login
to post a comment