This repository has been archived by the owner on Sep 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Need username and email from OAuth2 API #118
Milestone
Comments
toolness
changed the title
Need username and password from OAuth2 API
Need username and email from OAuth2 API
Apr 2, 2015
Oops lol typo in the original issue title. |
6 tasks
Note that simply documenting this API will help unblock mozilla/teach-api#11, so if it's faster for you to first document and implement later, that's cool too. |
Agreed, I think we need to add this to id.wm.o for now. I propose the following:
@toolness that sound right? |
@cadecairos do you have time to implement this addition? |
Yeah that sounds great to me @jbuck! Thanks. If you can document that in as detailed a way as you do the rest of the calls in |
Fixed by #128 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In order to fully replace the existing Persona login, id.webmaker.org needs to provide a user's email and username to an authenticated client.
The need for the username is obvious and shouldn't impact user privacy.
The email, however, does impact privacy, and is needed for the transactional emails that teach-api sends out. That said, the email won't be shared with the front-end code that runs in the browser.
This information can either be provided through an OAuth2 call with a bearer token, or it can be provided in the info blob that is returned from
/login/oauth/access_token
, which is what Twitter does (albeit not with the email address, just the username).The text was updated successfully, but these errors were encountered: