Requesting email scope doesn't actually provide email
See original GitHub issueRequesting the email scope during authentication displays the user interface message about “reading your email”, but the response doesn’t actually include the email.
The auth response token is below.
I erased my browser and created a new account to make sure there hadn’t been some state change and found the same issue.
I’m using Chrome 67.0.3396.87 on Android 8.1.0 on a Pixel 2.
This problem happens on the currently deployed browser.blockstack.org commit: https://github.com/blockstack/blockstack-browser/commit/5836e17181e7e0d68a712a75e01f1df1c2f4643f
eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJqdGkiOiJjMzZkM2U0Mi1jMDU0LTRhZjMtYjk5MS02ZGM4NmUxZDE4ZmUiLCJpYXQiOjE1MzI1OTA0MTcsImV4cCI6MTUzNTI2ODgxNywiaXNzIjoiZGlkOmJ0Yy1hZGRyOjFQNlhMYzVGRWh6SjlnZVVEWmlQUEJ3MnRBaEFYU01DVnciLCJwcml2YXRlX2tleSI6IjdiMjI2OTc2MjIzYTIyMzk2MTYxNjYzMTY2MzQzMTMxNjQzNTM3Mzg2NDY1MzIzMDM5NjI2MjY2MzY2NjM4NjYzOTYxMzI2NDMxNjEzMjIyMmMyMjY1NzA2ODY1NmQ2NTcyNjE2YzUwNGIyMjNhMjIzMDMzNjUzNTM3MzIzNDM0NjEzNTM4MzQzODM5MzIzODM0MzQzNDMxNjMzOTMzMzUzMTMyNjYzMjMwMzYzMDY2MzY2NjMxMzQzMTY2MzkzMTM4MzgzNjYzMzA2MjY0MzY2MzYxMzkzMDY2NjQzODM3NjIzNjY1MzY2MzYzMzEzMjY2MzgyMjJjMjI2MzY5NzA2ODY1NzI1NDY1Nzg3NDIyM2EyMjM4NjIzNzY0NjE2MzY1NjQ2NTM1Mzg2MjMxMzk2NjMzMzYzNzY1MzI2NjMxNjEzMzM2MzU2NTMyNjY2NDM5NjMzOTMzMzkzMTYzMzA2MjYzMzEzNjM3MzI2NTM5NjQzMzYzNjY2NTY2MzgzMTM1MzgzMDM1MzU2MzM2Mzc2MTMzMzMzMDM0MzAzMTM3NjIzODY1NjUzNzM4MzYzNjM0NjEzOTM0MzgzMzYyMzUzMzMxMzgzODM1NjMzMzMxMzk2NTM1NjIzODM0NjYzODY0NjQzNTM0MzMzMTM5NjU2MzM1MzMzNTM1NjMzNDMyMzIzMTMwMzgzNzYxMzc2NDM4MzczOTMwMzYzMDYyMzI2NDY2Mzg2MzM0Mzc2NjM1MzUzNTM5MzM2MTY1MzgzOTY2MzY2MzY1MzEzNzM0NjUzMDMyMjIyYzIyNmQ2MTYzMjIzYTIyNjI2MTM4MzAzMDM5MzczODY0MzM2MTM4NjIzNzYyNjQ2MzY0NjE2MjMxMzYzMjM3MzkzNzY2MzIzNTM3NjYzNDYzNjE2MzMzMzIzOTM1MzYzNjM4MzkzMDMxMzIzMTYzMzAzMTYzMzc2MTYxMzMzMTM2NjM2MTYzMzgzNzMxMzYyMjJjMjI3NzYxNzM1Mzc0NzI2OTZlNjcyMjNhNzQ3Mjc1NjU3ZCIsInB1YmxpY19rZXlzIjpbIjAzMWU3YTJkYmZkOGI1M2UyNDllMGEwNzRlNGVhNDBiYjMxYTgzZDI2MWU4YTliODczNDFmNDQ0YmU5MTNkMTMyNCJdLCJwcm9maWxlIjpudWxsLCJ1c2VybmFtZSI6bnVsbCwiY29yZV90b2tlbiI6bnVsbCwiZW1haWwiOm51bGwsInByb2ZpbGVfdXJsIjoiaHR0cHM6Ly9nYWlhLmJsb2Nrc3RhY2sub3JnL2h1Yi8xUDZYTGM1RkVoeko5Z2VVRFppUFBCdzJ0QWhBWFNNQ1Z3L3Byb2ZpbGUuanNvbiIsImh1YlVybCI6Imh0dHBzOi8vaHViLmJsb2Nrc3RhY2sub3JnIiwidmVyc2lvbiI6IjEuMi4wIn0.aqVynC28oeJQMsuioWuAPrvfOiG5mdItMaIi6UG9rd7w7HLcGI7tb2rBVT9l9XF7BX7wNbbZTao44a6XfVMnDA
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Id token does not contain email when email scope is requested
The simple fact that the client application is prompting you for the email scope only means, that the scope was allowed in IdentityServer...
Read more >AccessToken does not include email claim even ... - GitHub
I'm requesting the email scope when I'm authenticating, the email is returned form the User Info endpoint, but it is not included in...
Read more >The application asked for scope that doesn't exist on the ...
my application has an issue requesting the scopes files.readwrite, User.Read and offline_access but only for Work and School accounts. It works ...
Read more >Cannot get email & name while scopes requested on real device
So I'm implementing sign in with Apple, requesting `email` and `fullName` scopes. It works on simulator, when authenticating, the name and email UI...
Read more >How to Respond When You Receive Out-of-Scope Requests
We wanted to share some communication tips and swipe copy to help you hold your boundaries without making a fuss that your couple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The code looks like it is working. https://github.com/blockstack/blockstack-browser/blob/6805a07fcde2e611b5e728534d0a587acc8bc551/app/js/auth/index.js#L504 Using 18.3.0 I managed to receive the email address of the user in the auth response token.
Closing this since @zone117x fixed it!