Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001860PacketFencecaptive portalpublic2015-01-19 08:512015-01-27 10:09
Assigned Tojsemaan.inverse 
PlatformAllOSAllOS VersionAll
Product Version4.5.0 
Target VersionFixed in Version 
Summary0001860: Oauth2 methods do not populate User account fields
DescriptionWhen registering with Facebook/Google/MicrosoftLive (others untested) account, the user details (names, email, etc) are not captured.
Steps To ReproduceLog in to the captive portal with a Facebook/Google/Microsoft account that has not previously been used.

Check the newly created user account for the registered device.
Additional InformationExample JSON information received, from /html/captive-portal/lib/captiveportal/PacketFence/ :: oauth2Result, that can be populated:

Facebook:{"id":"101XXXX5391XXXX17","email":"repXXXX\","first_name":"myFirstname","gender":"male","last_name":"myLastname","link":"https:\/\/\/app_scoped_user_id\/101XXXX5391XXXX17\/","locale":"en_GB","name":"myFirstname myLastname","timezone":2,"updated_time":"2014-04-01T14:29:08+0000","verified":true}

Google: {"id": "1104XXXX82237XXXX2302","email": "", "verified_email": true,"name": "myFirstname myLastname","given_name": "myFirstname", "family_name": "myLastname", "link": "", [^] "picture": "", [^] "gender": "male"}

Microsoft: {"id": "fa87XXXX16e7XXXX", "name": "myFirstname myLastname", "first_name": "myFirstname", "last_name": "myLastname", "link":"","birth_day": [^] null,"birth_month": null,"birth_year": null,"gender": null,"emails": {"preferred": "","account": "","personal": null,"business": null},"phones": {"personal": null,"business": null,"mobile": null},"locale": "en_ZA","updated_time": "2015-01-17T14:00:59+0000"}
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
jsemaan.inverse (administrator)
2015-01-19 09:07

I'll also do it for LinkedIn + Github.

We'll need to design it properly though.

Will add a link to the Github Pull request once done.
jsemaan.inverse (administrator)
2015-01-19 09:09

I'll extend on the work done in [^]
jsemaan.inverse (administrator)
2015-01-27 10:09

Development work done

See : [^]

- Issue History
Date Modified Username Field Change
2015-01-19 08:51 repitah New Issue
2015-01-19 09:04 ludovic Assigned To => jsemaan.inverse
2015-01-19 09:04 ludovic Status new => assigned
2015-01-19 09:07 jsemaan.inverse Note Added: 0003636
2015-01-19 09:09 jsemaan.inverse Note Added: 0003637
2015-01-27 10:09 jsemaan.inverse Note Added: 0003640

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker