Did you try escaping the redirect_to value?
Escaping it within the URL posted above? How do you mean by that?
Also, on your page http://docs.thememylogin.com/custom-redirection/ you mention an options page with modules and I can’t find that anywhere. I don’t see where the options page is or how to enable modules. You then have a link on the page mentioned above called Managing Modules (http://www.jfarthing.com/docs/theme-my-login/general#managing-modules) which leads to a 404. I just want to be able to redirect my users back to the value specified by redirect_uri in the URL, or, back to the referer.
What do you mean by escaping redirect? Can you give an example? When my users are sent to my normal login page at: https://www.example.com/login/?redirect_to=https://www.example.com/oauth/authorize/?response_type=code&client_id=myspecialclientID&redirect_uri=https://www.example-auth-site.com/back-to-where-you-came-from/ it works fine, but if you go to https://www.example.com/custom-tml-login/?redirect_to=https://www.example.com/oauth/authorize/?response_type=code&client_id=myspecialclientID&redirect_uri=https://www.example-auth-site.com/back-to-where-you-came-from/ then it blank pages me after login. How do I get TML to recognize the redirect_to value and redirect my user to that location after login?
I realized that after logging into the custom-tml-login page, it takes me to https://www.example.com/oauth/authorize/?response_type=code instead of the full redirect_to parameter. Why is it cutting off the rest of the value? Once it hits &client_id I guess it thinks that the redirect_to value ends there, but that is not the case. How do I get it to pickup the rest of the URL?