Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains.
I got the same error — you need to go to ‘Add Platform’, then add ‘Website’ then put your URL in there. Then save and it should work properly.