FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Not getting enough details using Google Oauth

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    464
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prince.b
      last edited by

      Hi, I'm using fusion auth for my app. I've two IP integrated i.e. Discord and Google.

      For Discord I am getting enough details such as

        user: {
          id: '34343',
          discordId: '34434',
          email: 'email@myemail.com',
          image: 'https://imagelink.png',
          name: 'My Name'
        }
      

      However, with Google, I'm getting just an email and an id

       user: {
          id: '43434',
          email: 'email@myemail.com',
          image: undefined,
          name: undefined
        }
      

      In Fusion auth, I'm getting the details of user Google. Any idea why I am not able to receive these fields inside my application?

      Event Log:

      {
        "iss" : "hidden data",
        "azp" : "hidden data",
        "aud" :"hidden data",
        "sub" :"hidden data",
        "email" : "hidden data",
        "email_verified" : "hidden data",
        "at_hash" : "hidden data",
        "name" : "hidden data",
        "picture" : "hidden data",
        "given_name" : "hidden data",
        "family_name" :"hidden data",
        "iat" : "hidden data",
        "exp" : "hidden data",
        "alg" : "hidden data",
        "kid" : "hidden data",
        "typ" : "hidden data"
      }
      
      mark.robustelliM 1 Reply Last reply Reply Quote 0
      • mark.robustelliM
        mark.robustelli @prince.b
        last edited by

        @prince-b What scopes are you requesting?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post