Fork me on GitHub

Using DotNetOpenAuth with Root/Domain Level URL Rewriting

DotNetOpenAuth user Sean Lynch has just blogged about a recent a challenge he has overcome when using DotNetOpenAuth on applications that utilise domain level URL Rewriting/Domain Redirection.

Sean writes;

The problem that came from this setup was that DotNetOpenAuth determined that the realm was example.com/sitedir instead of example.com, and returned from openid with to the sitedir/authenticate. Andrew Arnott pointed me in the right direction pretty quick after my tweet. Here is what I ended up with to fix this, it is in 2 parts.

Check out Sean’s full article here.

This entry was posted in DotNetOpenAuth. Bookmark the permalink.