Closed Bug 687500 Opened 13 years ago Closed 12 years ago

Affiliates: add browserID capability to application

Categories

(Firefox Affiliates Graveyard :: affiliates.mozilla.org, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cmore, Assigned: ozten)

References

Details

(Whiteboard: [dev][l10n])

Attachments

(3 files)

Per this wiki page:

https://wiki.mozilla.org/Identity/BrowserID/MozillaDogfood

We should add BrowserID to a post 1.0 version of the Affiliates application.
Target Milestone: --- → 1.1
Whiteboard: [dev]
Target Milestone: 1.1 → 1.2
Assignee: nobody → ozten.bugs
Blocks: 685246
Target Milestone: 1.2 → 1.1
Attached image Affiliates Homeage v0 —
Homepage Login becomes drastically simpler and Registration becomes somewhat simpler.

Login with a known email address goes to Affiliates_Register_Success.png
Registration goes to Affiliates_Register_Success.png
Login with an unknown email address goes to Affiliates_Login_Unknown.png
No change from production. Adding for reference.
Attached image Affiliates Login Unknown v0 —
This covers two corner cases:
1) New user clicks Login
2) Existing user chooses wrong email address in BrowserID
(In reply to Austin King [:ozten] from comment #3)

Three notes:
a) shout@ozten.com and the password being pre-filled is my browser being weird. I meant to clear that out before taking a screenshot
b) The title could be 'New User Profile' instead of 'Edit your user profile' to emphasis this is a new account.
c) hamsterdance is my real name
Whiteboard: [dev] → [dev][l10n]
I'm open to any help, but Comments #1 - #4 are mainly to get feedback on two aspects.

Changing 'Log In' button from white to blue.

Any graphic <3 for the "Already have a profile" warning sidebar.
Depends on: 697862
The main code is ready for review at
https://github.com/mozilla/affiliates/pull/64

Two issues I didn't anticipate 
* unit tests
* Django admin authentication

I'm requesting a code review and discussion while I tackle these other issues.
Status: NEW → ASSIGNED
(In reply to Austin King [:ozten] from comment #6)

I'm removing irrelevant unit tests and repairing broken once with mock BrowserID responses.

In terms of  Django admin authentication...

Plan - Normal users have no usable password. If the user is_staff or is_superuser, then on the profile page, we show a change password section.

To become an admin user, you need someone to use the admin panel and give you permission, then you'd set a password. The first user can be created via a django manager command.

How does this plan sound?
I like this plan. We don't currently use individual admin accounts, but that may change in the future as we add more and more banners.
(In reply to Michael Kelly [:mkelly] from comment #8)

Okay, I'm code complete and ready for 2nd code review on the same pull request:
https://github.com/mozilla/affiliates/pull/64#commits-pushed-d299cf6
Is this on staging? I'd love to have a look?
(In reply to Crystal Beasley [:skinny, :crystal] from comment #10)
> Is this on staging? I'd love to have a look?

Not yet. After it's reviewed and we merge it it'll be on dev and I'll post a link in this bug.
Depends on: 697766
The reason I went registration form > BID flow instead of BID flow > registration form like current Mozillians:
* We collect 1 piece of information (display name) plus TOS
* Next step is into affiliates badge creation (which is the point of the site)
* Profile information is optional and not part of average user's registration flow
* Switching to profile oriented second step makes it less quick to start creating affiliate badges. Having only display name and TOS seemed weird after BID flow.
* Error in flows and loss of registration form data isn't very painful (compared to Mozillians)
* Reusing existing visual design

Looking forward to your input.
I don't see an ETA on the staging server bug, so I've upload a screencast of 4 possible login flows.

http://youtu.be/a4aMJyM2ASs
mkelly, cmore: can we move on pushing this to stage? This seems quite ready, and it would be a shame to start pushing this into December when everyone is going to get swamped trying to wrap up quarterly goals. Early win here, I think.
Ben: I'll be meeting with UX tomorrow about this, and once the changes for that go in we can send this off to l10n and security for review. Hopefully we can push this out within a few weeks.
mkelly: I'm pretty sure that's not what we had agreed on a few days ago: that this would go in now. Let's talk about this urgently, as this means missing a quarterly goal that we had all agreed would be done.
(In reply to Crystal Beasley [:skinny, :crystal] from comment #17)

I'm assuming you don't want password fields added back in :)

Why do we want the user to type their email, when the clicking Register will get a verified email?

Can we base the UX feedback on the work that is already complete? I'm happy to change login to the BrowserID button. Where does the 'easier way to sign up' link go?

Milos of l10n has asked that we use the same string across Mozillians and Affiliates. If we're adding "BrowserID is an _easier way to signup_." then shouldn't we reuse the analygous string for Mozillians "_What is BrowserID? Why are we using it?_"
I walked through it with ozten and I'm good with it as he has it. When the browserID branding comes through we'll revise with their standard sign in button.
Depends on: 705810
We've decided
Depends on: 706633
Blocks: 686710
Blocks: 693660
Blocks: 694354
Blocks: 693657
Blocks: 693693
Target Milestone: 1.1 → 1.2
woohoo, is there a dev server we can check out?
It's up at https://affiliates-dev.allizom.org/en-US/ , but BrowserID's SSL certificate isn't being accepted by the server. Bug 710444 and bug 710441 are blockers for this to work on affiliates-dev (bug 706633 is the bug for the en-US release).
No longer depends on: 697766
Marking this as resolved; this was pushed to en-US a while back.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Websites → Firefox Affiliates
QA verified .. bid goodness landed and is the auth mechanism for the site
Status: RESOLVED → VERIFIED
Product: Firefox Affiliates → Firefox Affiliates Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: