asp.net - OAuth : How to get email address from external provider (GitHub)? -


users on website can authenticated through external providers such github. process working after call

request.getowincontext().authentication.challenge(properties, authenticationprovider) 

but 1 point github doesn't return email address.

after call above, generates authorize url scope=user. maybe point. think should work if scope=user,user:email mentioned there

i tried add parameters properties no luck. can me on this, please?

but 1 point github doesn't return email address.

this might affected user's settings on github. there option settings / profile / public email, if user chooses public email visible app bellow claim #3

enter image description here


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

android - Go back to previous fragment -