When you sign up for an account, we prefill your real name using your upstream username, which is silly.
Description
Description
Revisions and Commits
Revisions and Commits
Event Timeline
Comment Actions
When you oauth between instances, the registration form prefills your username on the remote instance as your "Real name" on the local instance. This is probably just a copy/paste issue somewhere in the Adapter in libphutil.
I think we should also expose primary emails over OAuth: this will make the workflow a lot easier in Phacility, and I think it's consistent with expectations (other OAuth providers expose email addresses):
- If it's verified, return primary email address from calls to user.whoami.
- Have the adapter read it.
- Maybe tweak the "Authorize Application" text to be like "basic information, including your primary email address", to be clear to users? This might be soften-able / humanizable to make the flow more friendly in a Phacility context without losing generality, too.
When we create an OAuth provider on instances we already flag it as trusting the email addresses it receives, so that should be sufficient to get everything prefilling correctly and just let users click "Yes" buttons until they're done.