Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] merge registration and login #4

Open
rubenfonseca opened this issue Jun 16, 2009 · 4 comments
Open

[feature] merge registration and login #4

rubenfonseca opened this issue Jun 16, 2009 · 4 comments

Comments

@rubenfonseca
Copy link

Hi. It would be very nice if it was possible to merge the login and registration together. Example:

As a user who never used the website.
When I login with openid.
The user is automatically created.

This way, I don't have a registration phase. The user simple logins, and if it doesn't exist yet on the database, the user is created.

I tried to play with the existing code to implement this behavior with no success. Does it make sense?

@rubenfonseca
Copy link
Author

I tried to override "self.find_by_openid_identifier" on the User class as shown in http://gist.github.com/130921 .
Although it seems to work, I loose the openid registration fields since map_openid_registration is never called. I think I'm getting closer...

@jms301
Copy link

jms301 commented Jan 6, 2010

This appears to have been solved by gaizka. http://github.com/gaizka/authlogic_openid

@jms301
Copy link

jms301 commented Jan 14, 2010

Although worth noting that Gaizka has a bug when you have a valid OID provider but invalid directory on their server. Fix for that: http://gist.github.com/272655

@glebm
Copy link

glebm commented Mar 5, 2010

Is there a way to do this without modifying authlogic-oid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants