Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Making "WindowsLive" get user email, first_name, last_name #64

Open
harpreetsb opened this issue Apr 27, 2015 · 0 comments
Open

Comments

@harpreetsb
Copy link

here is my code suggestion that works with windowslive Outh to provide user email and name
FILE - libraries/Provider/Windowslive.php
Code

/* at line 49 the return array */
return array(
            'uid'       => $user->id,
            'name'      => $user->name,
            'nickname'  => url_title($user->name, '_', true),
            'first_name' => $user->first_name,
            'last_name' => $user->last_name,
            'email' => $user->emails,
//          'location'  => $user[''], # scope wl.postal_addresses is required
                                          # but won't be implemented by default
            'locale'    => $user->locale,
            'urls'      => array('Windows Live' => $user->link),
        );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant