pyvideo / richard

video indexing site
Other
216 stars 55 forks source link

"we don't have an account for that email address on this server" #203

Closed natea closed 9 years ago

natea commented 10 years ago

It doesn't seem possible to register for a new account on the site. When I click on the Login link and login using my Mozilla Persona account, it says, "Either your login has failed or we don't have an account for that email address on this server."

I thought that it might just be a configuration issue with my http://localhost:8000 site, but then I tried to login to pyvideo.org and got the same message.

How do I associate my Mozilla Persona account with a new user on the Richard site?

willkg commented 10 years ago

Are you talking about a new richard site or are you talking about pyvideo?

natea commented 10 years ago

Well, I was trying it on a new Richard site, but to test whether the behavior was the same, I tried to login to pyvideo.org and got the same message.

willkg commented 10 years ago

Right. So what's going on is that I have it set to not create new accounts because there's nothing to do on the site with an account other than be an admin. You create the first admin account when you do manage.py syncdb. Other admin can be created from the admin interface.

At some point, having user accounts will make sense, but not yet.

If you want to enable them anyhow, the setting is BROWSERID_CREATE_USER.

natea commented 10 years ago

After I enabled BROWSERID_CREATE_USER, then when I logged in it says,

Greetings H_qQ7o9tLhPACBn4jjnCg6siyUo!

Is that normal to use a random string as my username?

willkg commented 10 years ago

Yup! It's how django-browserid generates names and richard doesn't yet have the bits for asking the user for those things.

That should be a new issue.

However, like I said, there isn't anything for users to do right now while logged in. Why are you looking into this right now?

natea commented 10 years ago

I'm considering using Richard for a project, but one of the requirements for the project is user registration and user profiles, so that is why I was curious how to make that work with Richard (BrowserID or no BrowserID).

On Mon, Mar 17, 2014 at 5:44 AM, Will Kahn-Greene notifications@github.comwrote:

Yup! It's how django-browserid generates names and richard doesn't yet have the bits for asking the user for those things.

That should be a new issue.

However, like I said, there isn't anything for users to do right now while logged in. Why are you looking into this right now?

Reply to this email directly or view it on GitHubhttps://github.com/willkg/richard/issues/203#issuecomment-37810790 .

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

codersquid commented 10 years ago

@willkg what do you think of using django-allauth? I don't know if we want to bring new dependencies in willy-nilly but I am using that one for user management/profiles in another site I'm working on. It allows for login with browserid as well as other services.

willkg commented 10 years ago

I don't want to deal with multiple authentication systems for pyvideo. So I don't think that's something I want to change now.

Adding a "fill out your profile" page isn't hard, but that's outside the scope of this issue, so I think we should close this issue and create issues for the work that needs to be done.

codersquid commented 10 years ago

I'm in favor of closing this and having a different issue(s) track the work.

willkg commented 9 years ago

We have #208 covering the "create a profile" page. Further, I changed things so people can create new accounts and log in now.

Given that, I'm going to close this out.