CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • civicrm login for standalone not working
Pages: [1]

Author Topic: civicrm login for standalone not working  (Read 3765 times)

sawjer

  • Guest
civicrm login for standalone not working
January 21, 2009, 02:25:23 pm
I need new users to login into civicrm for administration.

For this I have added the myopenid name (e.g. myname.myopenid.com) and ticked the enable_login in the user configuration.

I have verified, that I can properly use the myopenid and I have not mixed up passwords. But login with those newly created users is not possible.
A very helpful eror message is returned: "You are not allowed to login. Login failed. Contact your Administrator". As I am the administrator, not knowing what to do, help was elusive.

I spent too many hours reengineering the code to find out, that the openid string the admin has to enter in the user configuration form is not myname.myopenid.com (this is what I have to enter for login in) but http://myname.myopenid.com/ . The Form makes no mention of this peculiar quirk!

Please tweak the code to let admins enter the normally used myopenid login string in the user configuration.  You can save users a lot of unnecessary frustration!!

cap10morgan

  • Moderator
  • I post occasionally
  • *****
  • Posts: 56
  • Karma: 9
Re: civicrm login for standalone not working
January 21, 2009, 06:30:27 pm
Quote from: sawjer on January 21, 2009, 02:25:23 pm
I need new users to login into civicrm for administration.

For this I have added the myopenid name (e.g. myname.myopenid.com) and ticked the enable_login in the user configuration.

I have verified, that I can properly use the myopenid and I have not mixed up passwords. But login with those newly created users is not possible.
A very helpful eror message is returned: "You are not allowed to login. Login failed. Contact your Administrator". As I am the administrator, not knowing what to do, help was elusive.

I spent too many hours reengineering the code to find out, that the openid string the admin has to enter in the user configuration form is not myname.myopenid.com (this is what I have to enter for login in) but http://myname.myopenid.com/ . The Form makes no mention of this peculiar quirk!

Please tweak the code to let admins enter the normally used myopenid login string in the user configuration.  You can save users a lot of unnecessary frustration!!

Valid OpenID's are full URLs, so yes, you have to enter the full URL, including the http:// and the trailing slash. It would be nice to add code to detect what you meant and convert it to a valid URL (like modern web browsers do), but this would be an enhancement, not a bug fix. We get this for free from the OpenID library on the login page, but we would have to write it for the account setup page. At least the admin is the only one who has to be aware of this requirement rather than every user needing to worry about it.

sawjer

  • Guest
Re: civicrm login for standalone not working
January 21, 2009, 09:54:32 pm
I can see the point.

I do not worry about having to follow certain syntax. What I am to propose, is to make civicrm less heavy to use.  If you are knowledgeable in all the ideas the developers had, you are fine, if not you spend just too much time finding out by reverse engineering.

If it had a simple help text to explain the proper syntax in the user config form, all would be all right.
Lets not defend the reason for doing so it in the first place but make it more user friendly. I am doing integration into the cms hpmanage that is geared for people not being certified webmasters. I just clearly know, any software that is too complicated to master will disappear. At present civicrm has too steep a learning curve. We need to make it simpler!

cap10morgan

  • Moderator
  • I post occasionally
  • *****
  • Posts: 56
  • Karma: 9
Re: civicrm login for standalone not working
January 22, 2009, 07:04:48 am
Quote from: sawjer on January 21, 2009, 09:54:32 pm
I can see the point.

I do not worry about having to follow certain syntax. What I am to propose, is to make civicrm less heavy to use.  If you are knowledgeable in all the ideas the developers had, you are fine, if not you spend just too much time finding out by reverse engineering.

If it had a simple help text to explain the proper syntax in the user config form, all would be all right.
Lets not defend the reason for doing so it in the first place but make it more user friendly. I am doing integration into the cms hpmanage that is geared for people not being certified webmasters. I just clearly know, any software that is too complicated to master will disappear. At present civicrm has too steep a learning curve. We need to make it simpler!

Ease of use is a big shared goal around here. But we need more people to help us get there. I've taken your suggestion and added a helpful description to that form field (as you can see in the attached screenshot). It will be there when 2.2 is released. (I'm also going to look into automatically adding http:// to the beginning and the trailing slash at the end.)

Constructive criticism and a willingness to help solve problems (whether code, usability, or anything else) are always most welcome. But your tone assumes we don't care or haven't thought about ease-of-use. We're all on the same team here, and most of us are users just like you trying to make things better (as are the core developers). Offers of help will always get you much further than criticisms of the work that's already been done.

cap10morgan

  • Moderator
  • I post occasionally
  • *****
  • Posts: 56
  • Karma: 9
Re: civicrm login for standalone not working
January 29, 2009, 10:39:24 am
I've now added a call to the same URL normalizing method that the login page uses. So now when you create or edit a contact and give them an OpenID, the OpenID library will fix it up for you and save it in the correct format (for example, adding a trailing slash if you forgot it).

This new functionality will be released in 2.2 and in the next 2.1.x point release.

sawjer

  • Guest
Re: civicrm login for standalone not working
January 29, 2009, 02:52:51 pm
Thanks, that is great!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • civicrm login for standalone not working

This forum was archived on 2017-11-26.