Microsoft Passport not redirecting??

Can anyone give me the shortest snippet of code available _that_works_ that allows users to log into my web site using Passport? I already have a Site ID issued by the Passport.Com site, and I've installed the SDK on my Windows 2003 Server. And I've typed up what code I think is appropriate. But my problem is that when I click on the Passport "Sign-In" button on my home page, the page just refreshes with a big long querystring tagged onto the end of the URL, and nothing in effect happens.

Comments

: Can anyone give me the shortest snippet of code available _that_works_ that allows users to log into my web site using Passport? I already have a Site ID issued by the Passport.Com site, and I've installed the SDK on my Windows 2003 Server. And I've typed up what code I think is appropriate. But my problem is that when I click on the Passport "Sign-In" button on my home page, the page just refreshes with a big long querystring tagged onto the end of the URL, and nothing in effect happens. : : Here's the code I'm using in my Form_Load event:: phPassportSignIn.Controls.Add(New LiteralControl( _: Passport.LogoTag2(Request.PathInfo, 14400, False, _: Nothing, -1, Request.IsSecureConnection, _: Nothing, 0, False))): : : Please help!:

You didn't mention the web.config, so I will. It should have the following:

I've never actually used Passport authentication, but if your machine is all set up with the sdk you should be good as gold. It appears that asp.net will automatically detect a user that hasn't been authenticated and will redirect for you. It also appears that MS will redirect back to the originally requested page automatically.

Sounds like you are half way there. Are you using the development version of the PassportSDK? There are two versions, one for development and one for production. Even if you are, the dev version should be working.

: Sounds like you are half way there. Are you using the development version of the PassportSDK? There are two versions, one for development and one for production. Even if you are, the dev version should be working.: : -ray:

: : Sounds like you are half way there. Are you using the development version of the PassportSDK? There are two versions, one for development and one for production. Even if you are, the dev version should be working.: : : : -ray: : : : Hmmm... I know I'm set to the Pre-Production stage, but as for the edition of the SDK itself, I've installed the one I downloaded from:: http://msdn.microsoft.com/library/default.asp?url=/downloads/list/websrvpass.asp: : It looks like this is the Dev version, but is there a different, production version out there? Or are you just referring to Pre- vs. Production stage?:

Speaking only from training and not from actual experience I think that there are two different versions of the sdk. Maybe the Production version is "unlocked" from the dev version once its licensed. Not sure. In any event, the whole purpose of the dev version is to try it out and work out any kinks before you license/go-live. You are almost working but not yet. You probably have two different issues: dev version and an unknown misconfig.