Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8986453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:33:13+00:00 2026-06-15T21:33:13+00:00

I use the Accounts-UI and Accounts-[Github/Twitter/Facebook/Google] packages which allows login with external service. I

  • 0

I use the Accounts-UI and Accounts-[Github/Twitter/Facebook/Google] packages which allows login with external service.

I modified Accounts.ui.config with requestPermissions, example:

Accounts.ui.config({
  requestPermissions: {
    github: ['user'],
    facebook: ['user_photos']
  }
});

But when I logged me with Github (for example), I get only my Github’s name.

Same thing with others external services.

How to get more information, like the url of the profile picture?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:33:14+00:00Added an answer on June 15, 2026 at 9:33 pm

    You can use the Accounts.onCreateUser(fn) method to customize what gets stored when the user is created. Here is some sample code:

    Accounts.onCreateUser(function (options, user) {
      var accessToken = user.services.github.accessToken,
          result,
          profile;
    
      result = Meteor.http.get("https://api.github.com/user", {
        params: {
          access_token: accessToken
        }
      });
    
      if (result.error)
        throw result.error;
    
      profile = _.pick(result.data,
        "login",
        "name",
        "avatar_url",
        "url",
        "company",
        "blog",
        "location",
        "email",
        "bio",
        "html_url");
    
      user.profile = profile;
    
      return user;
    });
    

    You have to make an additional call to the service in the callback function to grab any additional attributes. Currently, there’s no way that I know of to plug directly into the method that Meteor uses to get the identity attributes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Users can use their Google, Facebook or Twitter account to login to a site
I use http://github.com/abraham/twitteroauth PHP library for reaching Twitter REST API: <?php session_start(); require(config.php); require(twitteroauth/twitteroauth.php);
There are two accounts on github I'd like to use. The first, my private
I am using omniauth to register multiple user accounts from facebook, twitter and tumblr.
I am trying to use https://github.com/tapajos/highrise/ to update user accounts when people sign up
How can you use Git without Sudo in multiple accounts in one Ubuntu? My
I ve been trying to use OAuth to authenticate users with their twitter account.
I have configured my machine to use one account for a github project for
I am about to be writing a Ruby on Rails app which will use
I have a gitosis server at work, and I also use github for personal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.