By passing the login page in the embedded Iframe

I am trying to embed an iframe in my web application. I don't want to show login screen to my user So I tried to make an ajax call using below code.


            type: "PUT",
            url: "",
            contentType: 'application/x-www-form-urlencoded',
            dateType: 'jsonp',
            xhrFields: { withCredentials: true },
            username: "xxxx",
            date: '{}',
            password: "xxxxx",
            crossDomain: true,
            headers: {"Access-Control-Allow-Origin": "*"},
            success: function (data) {

But I am getting below issue. Can you please help me with this?

Hi @RajiReddy, please see these posts:

I saw these posts and made an Ajax call as shown above but still couldn't figure out the issue. Is there any sample code with you guys?

Unfortunately I'm not aware of any sample code.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.