DotNetOpenAuth.GoogleOAuth2
DotNetOpenAuth.GoogleOAuth2 copied to clipboard
GoogleOAuth2Client.RewriteRequest() Does not preserver QueryString Arguments in the "ReturnUrl"
The method GoogleOAuth2Client.RewriteRequest() does not preserve the "ReturnUrl" parameter completely. I have an ASP.NET web forms application that represents its routes using url parameters (see Below)
DataLayout.aspx?domain=MyModule&hierarchy=Proj;45886&tab=ProjectInformation
When my login page passes the return Url below in the format below it does not get unpackeck correctly as one coherent string. Instead the querystring parameters are separated out. E.g. hiearchy, domain, tab all become query variables in addition to the returnurl variable. This means that the restful links in my application no longer work when using this utility. Any help you can provide would be appreciated. Thanks
Login.aspx?ReturnUrl=%2App.Web%2fDataLayout.aspx%3fdomain%3dMyModule%26hierarchy%3dProj%3b45886%26tab%3dProjectInformation&domain=MyModule&hierarchy=Proj;45886&tab=ProjectInformation
i'm currently experiencing this issue have you somehow got a work around for this?
@JustAnotherDay - This project is now retired. There are better ways to do Google auth. See the note in the readme. Thanks.