13

I use Google Apps for my organization's user accounts and email. It is very convenient to have our users use Google's OpenIDs to log into various websites, including StackExchange, without them having to create and maintain YET ANOTHER password.

OwnCloud seems like a neat project for filesharing, and I have an instance installed. Supposedly OwnCloud supports OpenID authentication instead of custom usernames and passwords but I cannot find any documentation on how to configure that. I have enabled "OpenID user backend" and "External User Support" apps in my owncloud instance, but I can't figure out how to use them - especially for Google Apps OpenID (and without enabling Google+ for the OpenID)

It's a little confusing to know whether the OpenID support is for using the OwnCloud instance as the OpenID authority or, as I need it, accepting of OpenIDs for logging in.

Further, even if I knew how to log in to the web application, I also want to use the OwnCloud thick-client (windows) and continue to use the OpenIDs for logging in with that program. I don't see that as an option.

I would set a bounty on this except I don't have the points. Anybody want to open a bounty for it?

3 Answers3

2

Don't expect the login screen to change.

After configuring my OwnCloud local user with a identity at my OpenID provider, the browser is redirected to my auth server right after submitting my OpenID identifier to the OwnCloud login page, so this part of the process works fine.

Unfortunately, the login process does not succeeded because finally I'm redirected to the OwnCloud login page again (it does not show any error, by the way)

Update (Apr 24, 2013):

I've started to look into the code and I've found that OwnCloud uses class.openid.v3.php wich does not seem to support OpenID v2.0 (see https://stackoverflow.com/questions/6724729/has-any-one-got-class-openid-php-working-with-google-openid)

(Please note that this is very preliminary information. Maybe the file class.openid.v3.php supplied with OwnCloud have been upgraded to suport the latest release of OpenID. In fact, http://openid.net/developers/libraries/ says that "Simple OpenID PHP Class" is 2.0 compatible)

rpet
  • 33
0

According to this fourm post you put your OpenID url in the username field.

If you are logging in with Google that is either your Google+ profile url or https://www.google.com/accounts/o8/id (for all accounts).

I'm sorry I couldn't test it but I don't run an instance of owncloud.

Kevin Cox
  • 1,605
  • 1
  • 10
  • 12
0

One alternative I explored was using the "external auth" options, especially SMTP auth against Gmail. That also did not work properly. The the other alternative was using OAuth 2.0, but that involved pointing my whole Google apps domain at an external server.

It seems there are few mature plugins for ownCloud available at present. Using alternative authentication also prohibits you from sharing data among users and generally lacks features.