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

    is there a way to get idp userinfo back without login in

    Scheduled Pinned Locked Moved
    Q&A
    2
    4
    967
    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.
    • F
      fusionauth_user
      last edited by fusionauth_user

      so is that possible?

      right now when trying to connect to github for example, i get the error The identity provider was unable to reconcile the email address. An email address is required to complete this request., but i dont care about really logging in the user beyond that point, i just want the userInfo from their idp.

      So is there a way to skip the login part after the idp auth and just send back the data?

      Or a way to pass the email of the already logged in user to the idp login.

      Update: i can use the email in the reconcile workaround, but 1. thats gonna clutter the database with extra users, 2. i get another error, Client authentication missing as Basic Authorization header or credentials in the body (or some combination of them)

      1 Reply Last reply Reply Quote 0
      • F
        fusionauth_user
        last edited by

        invalid_client is what im getting, using github

        1 Reply Last reply Reply Quote 0
        • F
          fusionauth_user
          last edited by fusionauth_user

          Ok i fixed the issue i was having here, when using react-native-app-auth, with github at least, the clientSecret of the application must be present...

          But all i am getting back is the fusionAuth access token... which is useless in my case...

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by

            Can you present the fusionauth access token to the fusionauth /userinfo endpoint and get back what you need?

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

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