Autor Thema: One login to all OC Nodes ?  (Gelesen 8690 mal)

Offline Van de Bugger

  • Nano
  • **
  • Beiträge: 32
Re: One login to all OC Nodes ?
« Antwort #15 am: 23. Dezember 2010, 22:09:12 »
Sidenote: I said I assume caches will be mirrored eventually. I do not know for sure, but I think identity cannot be mirrored, can be?

In the concept i am thinking and testing ... the "user" table is replicated the same way as the cache-table. With one difference: email and password-md5 will only be replicated to those nodes that the individual user flagged to be "trusted". If one node goes permanently offline, the user records can be migrated to other nodes without bigger problems (in cooperation with the old site owner).

Sorry, I was unclear. I told about mirroring OpenID identity. Can OpenID identity be shared between two providers?

oliver

  • Gast
Re: One login to all OC Nodes ?
« Antwort #16 am: 24. Dezember 2010, 01:00:38 »
Oliver you can install own OpenID Server Provider for local test use http://source.keyboard-monkeys.org/projects/show/communityid
like openid.opencaching.de.

Our server does currently not support PHP 5.2 or 5.3 ... i wanted to install it before some months ... and PHP version was the killer ... migration of OC server to new OS is ongoing.

oliver

  • Gast
Re: One login to all OC Nodes ?
« Antwort #17 am: 24. Dezember 2010, 01:01:39 »
Sorry, I was unclear. I told about mirroring OpenID identity. Can OpenID identity be shared between two providers?

Sorry, i have no experience with OpenID.

Offline n0x-f0x

  • Nano
  • **
  • Beiträge: 78
Re: One login to all OC Nodes ?
« Antwort #18 am: 08. Januar 2011, 22:12:27 »
I think of another posibility to log in a node as a user of a different node.

Almost all sites of the nodes have a 'quick login formular' on their index page:


The sides have also a 'kind of normal' login page:


And this formular could be expended like this:


The login page must distinguish between the different nodes, communicate with the server of the requested node (in the following the 'originserver') (check pwd/username) and have to store in a session/cookie/whatever that the user is from an other node.
If the user now logs a cache the servers have to communicate with each other so that the 'originserver' knows that the user found another cache and the other server gets a few profile informations on the user.

This would need a SAFE communication module which is always a bit tricky to implement.

On the other hand this could be the solution

n0x-f0x
Alle Beiträge in jeglicher Form sind ausdrücklich NICHT offizielle Äußerungen! Offizielle Äußerungen werden klar als solche erkennbar sein!
All contributions in any form are not official statements! Official statements will be clearly recognizable as those!

Offline poker4ace

  • Micro
  • ***
  • Beiträge: 222
Re: One login to all OC Nodes ?
« Antwort #19 am: 09. Januar 2011, 21:45:31 »
Cool pictures :D
Well a login for all nodes instead of one for every node is a good idea - But there is one question: How to handle with the user-data? One global database? Where and on which server?

oliver

  • Gast
Re: One login to all OC Nodes ?
« Antwort #20 am: 10. Januar 2011, 13:23:25 »
Read http://forum.geocaching-network.com/index.php?topic=1172.0
There you will find some information how the OC network will synchronize the content in future.

With that in mind, i think we dont need to invest too much work in reinventing an solution similar to OpenID.