c# - IdentityServer3 SSO after login how to get user data back from FB (email from FB user) -


https://localhost/connect/authorize?client_id=myclientid&redirect_uri=https%3a%2f%2fredirect.local.com2f&response_type=id_token token&scope=openid profile email&state=dxpwzfvsdorcprdw&nonce=00000000000000000000000000000000&acr_values=idp%3afacebook 

this call identityserver3 , server redirect me fb login. when enter data fb login back

id_token=xxx, access_token=xxx, token_type=bearer, expires_in=360, scope=openid, state=dxpwzfvsdorcprdw, session_state=z6lgn2qw-bcvapk2u4-vn_n2l_xlxgmhf8fut5mxm6m.7ad2e65fb56117dd4db5174802d6ef05 

then token want connect fb api

https://graph.facebook.com/me?access_token=xxx 

but back

"message": "invalid oauth access token.", 

if cange token type jwt back

"message": "bad signature", 

what doing wrong?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -