Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 
- 
                        HD-Chapter:Security
 - 
                        HD-Enabler:Unknown
 
Description
Created question in FIWARE Q/A platform on 27-05-2016 at 01:05
Please, ANSWER this question AT https://stackoverflow.com/questions/37472601/phpleague-oauth2-client-getaccesstoken-fiware-keyrock
Question:
phpleague oauth2 client, getAccessToken, fiware keyrock
Description:
I'm trying to use the phpleague oauth2 client 1 against FIWARE idm, keyrock, .
I tried the example in 1, and I run smoothly up to this statement: 
    $accessToken = $provider->getAccessToken('authorization_code', ['code' => $_GET['code']
that does not return: none of the following statements is executed.
'urlAccessToken' looks properly configured as '/oauth2/token', the $_GET['code'] is correctly received ...
Have anybody faced anything similar?
Thanks a lot in advance for any hint.
Mario
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| Assignee | Alvaro Alonso [ aalonsog ] | 
| HD-Enabler | Unknown [ 10910 ] | |
| Description | 
                                                                 Created question in FIWARE Q/A platform on 27-05-2016 at 01:05 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/37472601/phpleague-oauth2-client-getaccesstoken-fiware-keyrock +Question:+ phpleague oauth2 client, getAccessToken, fiware keyrock +Description:+ I'm trying to use the phpleague oauth2 client 1 against FIWARE idm, keyrock, . I tried the example in 1, and I run smoothly up to this statement: $accessToken = $provider->getAccessToken('authorization_code', ['code' => $_GET['code'] that does not return: none of the following statements is executed. 'urlAccessToken' looks properly configured as '/oauth2/token', the $_GET['code'] is correctly received ... Have anybody faced anything similar? Thanks a lot in advance for any hint. Mario  | 
                
                                                               Created question in FIWARE Q/A platform on 27-05-2016 at 01:05
 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/37472601/phpleague-oauth2-client-getaccesstoken-fiware-keyrock +Question:+ phpleague oauth2 client, getAccessToken, fiware keyrock +Description:+ I'm trying to use the phpleague oauth2 client 1 against FIWARE idm, keyrock, . I tried the example in 1, and I run smoothly up to this statement: $accessToken = $provider->getAccessToken('authorization_code', ['code' => $_GET['code'] that does not return: none of the following statements is executed. 'urlAccessToken' looks properly configured as '/oauth2/token', the $_GET['code'] is correctly received ... Have anybody faced anything similar? Thanks a lot in advance for any hint. Mario  | 
                
| HD-Chapter | Security [ 10841 ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| Fix Version/s | 2021 [ 12600 ] | 
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
		    	
  | 
			8d 19h 47m | 1 | Alvaro Alonso | 31/May/17 10:52 AM | |||||
		    	
  | 
			1s | 1 | Alvaro Alonso | 31/May/17 10:52 AM | |||||
		    	
  | 
			1s | 1 | Alvaro Alonso | 31/May/17 10:52 AM | 
2017-05-22 15:06|CREATED monitor | # answers= 0, accepted answer= False