Acknowledged

Oauth callback no triggered in simulator since sdk 4.1.2

Hello,

in simulator since sdk 4.1.2 the Oauth call back registered with Communications.registerForOAuthMessages is never called.

did you change something ?

Parents
  • please find the code here :

    function onShow() as Void {

    Communications.registerForOAuthMessages(method(:onOAuthComplete));
    Communications.makeOAuthRequest("">">https://xxxxxxxxxx", {}, "">">http://localhost", Communications.OAUTH_RESULT_TYPE_URL, {"token" => "token"});
    }

    function onOAuthComplete(data) {
    }

    server is redirecting to https://localhost/?token=xxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx

    It works with sdk < 4.1.1

Comment
  • please find the code here :

    function onShow() as Void {

    Communications.registerForOAuthMessages(method(:onOAuthComplete));
    Communications.makeOAuthRequest("">">https://xxxxxxxxxx", {}, "">">http://localhost", Communications.OAUTH_RESULT_TYPE_URL, {"token" => "token"});
    }

    function onOAuthComplete(data) {
    }

    server is redirecting to https://localhost/?token=xxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx

    It works with sdk < 4.1.1

Children
No Data