added origin url as default redirect
Merge pull request #775 from arctelix/dynamic-scope-penner

added origin url as default redirect