is there a way to get idp userinfo back without login in
-
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)
-
invalid_client
is what im getting, using github -
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...
-
Can you present the fusionauth access token to the fusionauth /userinfo endpoint and get back what you need?