single sign on - Redirect oAuth Post to another domain -
single sign on - Redirect oAuth Post to another domain -
we have sso gateway page works oauth 1.0 (the version lti learning managements systems use.) alter domain gateway located. because lot of customers might not update links, want have redirect on old domain new page. because uses post data, need pass post info new location. i've tried using curl simple javascript repost (capturing post parameters , putting them form , automatically posting). in both cases, appears post info beingness passed properly. outh_signature not matching, getting verification failure.
when using javascript repost method, printed out post info nail redirect page , nail oauth sso page. post info absolutely identical. can't figure out why oauth fail. there nil in post info referer page. see references in oauth library http_referer. problem original page creating signature has different url redirect page doing referring? did seek manually set $_server['http_referer'] value original referrer, didn't resolve issue.
in case wondering, can't place informational page on old url since users access sso aren't ones set link. (people linking through applications, not web page control) , don't know if create difference anyway, can't alter oauth versions since 1 used lti.
thanks help.
after going farther in oauth code, did confirm referral uri relevant. base of operations string sso page uses create signature includes uri. application submitting sso request uses uri sending request to. normally, these same. in case set up, can different. need set in code modify base of operations string.
oauth single-sign-on url-redirection
Comments
Post a Comment