Ticket #263 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Improve and test openid login

Reported by: rgrp Owned by: johnbywater
Priority: critical Milestone: v1.1
Component: ckan Keywords:
Cc: Repository:
Theme:

Description

At the moment the user has to figure out to login with providers -- this is not always obvious (e.g. google).

We could improve this with a small bit of javascript. As an example see: http://standalone.demo.civicrm.org/standalone/

Not sure exactly what library that is using (or if bespoke) so alternatives include (NB: we already use jquery):

In addition to implementing this we also need to test logging in with main providers: google, wordpress -- as we have had reports of it not working with e.g. wordpress (not sure if this testing can be automated really -- best hope would be selenium I think -- so OK if done by hand).

Cost: 3h (2h UI), (1h testing)

Change History

comment:1 Changed 4 years ago by johnbywater

  • Status changed from new to closed
  • Resolution set to fixed

All seems to work. Reported Wordpress trouble may result from user having Wordpress account, but no blog (ie they have 'myname' login, but haven't got a 'myname.wordpress.com' blog. Having the blog makes it work (otherwise you get told that you aren't the owner of the identity).

comment:2 Changed 4 years ago by rgrp

  • Status changed from closed to reopened
  • Resolution fixed deleted

Issue where if you click on google or yahoo seems to "remember" login so next time you click on google or yahoo item it takes you to what you clicked on previously (e.g. click on google then go back and click on yahoo and you are taken to google login).

Also think this plugin may be nicer: http://code.google.com/p/openid-selector/

Also:

  • typo in page (indentity)
  • Not sure "sign in or create new account" is clear without some indication of how openid works e.g. better to say something like: "Login to CKAN using Open ID"

comment:3 Changed 4 years ago by johnbywater

  • Status changed from reopened to closed
  • Resolution set to fixed
  1. Have suspended cookie setting (which was remembering the provider).
  1. We are already using openid-selector.
  1. Fixed type in page ('indentity' => 'identity')
  1. Have changed 'sign in or create new account' to 'Login to CKAN using Open ID'

comment:4 follow-up: ↓ 5 Changed 4 years ago by rgrp

  • Status changed from closed to reopened
  • Resolution fixed deleted

Sorry, I meant this plugin: http://jvance.com/pages/JQueryOpenIDPlugin.xhtml

I also do not understand how I can login using my own openid e.g. one not provided by any of those providers (at least not directly ...): by default no box is showing and to make one appear I have to click on a specific provider (with unknown results if i then enter something).

Basically, I think this plugin is poor because it does not offer me a login box by default (as the other plugin seems to ...). What we really want is a simple login box with autocomplete based on provider like the civirm example!

comment:5 in reply to: ↑ 4 Changed 4 years ago by dread

Replying to rgrp:

I also do not understand how I can login using my own openid e.g. one not provided by any of those providers (at least not directly ...): by default no box is showing and to make one appear I have to click on a specific provider (with unknown results if i then enter something).

I found it pretty obvious to login using openid - clicking on the 'openid' box made sense. The input box may serve to confuse the majority who login via Yahoo/Gmail?. I don't think it's worth changing AGAIN.

comment:6 Changed 4 years ago by rgrp

OK, I think we're agreeing to close this now since reasonable and not worth the switch to anything different atm. Still concerned about usability but if necessary we can open a new ticket.

comment:7 Changed 4 years ago by rgrp

  • Status changed from reopened to closed
  • Resolution set to fixed

comment:8 Changed 4 years ago by rgrp

  • Status changed from closed to reopened
  • version set to 1.0
  • Resolution fixed deleted
  • Milestone changed from v1.0 to v1.1

I consistently get sent to google login even though I choose openid meaning I am unable to login!

comment:9 Changed 4 years ago by rgrp

  • Status changed from reopened to closed
  • Resolution set to fixed

JB advised permanently remove ckan.net cookies (may be left over from much earlier). Having done this problem went away.

Note: See TracTickets for help on using tickets.