Comments (5)
hi, I test again and have no such problem. (test openid by myopenid.com)
After create a new app, you should register, activate and update account with openid_indentifier, then you can login by your openid.
Or if you request account registration by openid_indentifier with this engine, I have to say sorry. I will rewrite this part next week.
from authlogic_bundle.
I can add my openid_identifier when creating a new account - but the login form does not show the openid login form. It gets hidden (dispay:none) all the time :-(
from authlogic_bundle.
login GET /login {:controller=>"user_sessions", :action=>"new"}
At this stage the @user_session should be empty because the user is not known, shouldn't it? So the openid_identifier is always blank and there's no chance to sign in with openid...
from authlogic_bundle.
In the block of "new" of UserSessionsController, we have "@user_session = UserSession.new" defined, and this have the same meaning as "User.new".
So we can check "@user_session.openid_identifier.blank?" and get "true" as you know, and then show "div#password_box", hide "div#openid_box" in first place.
The display toggle of "div#openid_box" / "div#password_box" is working by the javascript of "Password / OpenID" in the login page, and default javascript framework is prototype.
<legend>Login using <a href="#" onclick="$('password_box').toggle();
So I guess you may remove prototype and use jQuery, and the display toggle got failed. Or other possibilities?
from authlogic_bundle.
Ah, sorry!
After copying the translations to my config/locales directory it worked (you fixed that in your latest commit). Now the toggle text appears and is working.
Thank you :-)
from authlogic_bundle.
Related Issues (11)
- Support testing HOT 1
- Problem with: rake authlogic_bundle:features HOT 1
- Enhancement Request: How I remove openid_identifier from signup form? HOT 1
- authlogic and declarative_authorization HOT 1
- undefined method `add_acts_as_authentic_module' for ActiveRecord::Base:Class (NoMethodError) HOT 2
- Password Reset for not activated users: Authorization::NotAuthorized... HOT 1
- MissingTemplate when OpenID login fails
- users index: show, edit, destroy links
- code converter not found (ISO-8859-1 to UTF8-MAC)
- Problem installing authlogic_bundle on my Mac HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authlogic_bundle.