Skip to content

Ignores 'profile details' coming from twitter(or any other provider) after login #91

@rajendrakrp

Description

@rajendrakrp

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions