Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jay 345 posts 529 karma points
    Feb 23, 2017 @ 17:14
    Jay
    0

    Please wait while you're being redirected...

    Hi,

    I've encountered a problem on an environment. When i clicked on the Authorize button and then clicked to Authorize the App, I've then been shown a popup saying "Please wait while you're being redirected..."

    But nothing happens after that. It's in an AWS environment. Any idea?

    It works on my local instance though

    Thanks

    Edited below, i've checked the console and got the below

    enter image description here

  • Jay 345 posts 529 karma points
    Feb 24, 2017 @ 10:11
    Jay
    0

    Just found out it's because the pop up is not https.

    Is there any way I can easily change the popup to be https?

    Thanks

  • Anders Bjerner 457 posts 2693 karma points MVP 5x admin c-trib
    Mar 03, 2017 @ 20:10
    Anders Bjerner
    0

    Hi JLon,

    I have tried setting up a new HTTPS site on my local IIS server, but I can't replicate the error that you're seeing.

    The property editor will open a popup window based on a relative path, so it really should support HTTPS - the function behind the Authorize button looks like this:

    $scope.authorize = function () {
    
        var url = '/App_Plugins/Skybrud.Social/Dialogs/TwitterOAuth.aspx?callback=' + alias;
        url += "&contentTypeAlias=" + state.contentTypeAlias;
        url += "&propertyAlias=" + $scope.model.alias;
    
        window.open(url, 'Twitter OAuth', 'scrollbars=no,resizable=yes,menubar=no,width=800,height=600');
    
    };
    

    Also, when the user is redirected back from Twitter, the dialog still uses HTTPS.

    I can however see that the dialog is trying to load a Google font via HTTP (which then is blocked), but otherwise it works fine when I'm testing.

    I don't have any experience with AWS, but I can't think of something platform specific that should cause the error you're experiencing.

Please Sign in or register to post replies

Write your reply to:

Draft