NoamB/sorcery — Issue #216: Custom user_info_mapping for external providers
Author: smartcode
Created: 2012-02-16 16:55:07+00:00
State: open

Hello,

I am looking for a possibility how i can hook up a method which is doing the user info mapping for a specific external login provider.
For example i want to change the provided locale to the format i use in my database or i want to download the user avatar from twitter as part of the matching process.

I know i can do such with setter methods on my user model but i want to keep these things separate from the model and i want to define them for each provider.

Where is ther best place to implement this? What is the best way to implement such extended mapping options?
Thanks!