Implementing an OpenID Provider in Perl -


It may be a shot in the dark, but I'm trying to implement OpenID provider in Perl. The document for the entire process is confusing and sparse.

If someone has successfully implemented a provider in Pearl, can you paste some code snippets?

So I finally suppressed OpenID installation in place and it is working very well. I think I'll expand some cubes.

  • There are more than three states / steps in the OpenID sign-in process. This is confusing because the documentation and sample code assures you that there are three in some cases, from seven to seven, view your server log and see how many times a server and user (requesting authentication) PROVIDER (You're probably setting up.) When you are looking at only half of the interaction, it is difficult to debug something.
  • Many providers are unfinished 2.0 using Speck. (This is slightly better.) 2.0 Speak does with different 1.0 space; The server trusts them with PROVIDER (you) Net :: Opened :: Server handles this beautifully, but you do not know what type of device it is using. 2.0 device adds a step by hand to the working process.
  • Set up your own OpenID server for easy testing. I have used a simple rail server with a gem named Ruby-OpenID. The behavior of copying a real in-wild server takes about 10 minutes.
  • It should go without saying, but make sure your login process is stateless. We had a global variable that verified how the user was. Because the use of that variable has created some assumptions that were incompatible with the OpenID sign-in process, users would have been allowed to log in accounts other than their own. It's obviously bad that something is off and we have some stateless and more secure code

Everything, OpenID once you have it very good after working.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -