I'm using apex along with velruse, here is the pyramid's configuration.ini file for velruse.
[app:velruse]
use = egg:velruse
endpoint = http://myapp.com/auth/apex_callback
openid.store = openid.store.memstore:MemoryStore
When I looked into 'apex_callback', it in-turn calls 'apex_id_from_token' to get profile info using '/velruse/auth_info' url. Refer:https://github.com/cd34/apex/blob/master/apex/lib/libapex.py#L82
This function only extracts 'userid' and 'domian' fields from profile, ignoring other fields.
I can extract all other fields and return it. But it isn't a right way to do it.Is there better way to handle this scenario? With this info, we can auto-fill some of the fields in user profile.
Thanks in advance..