When I use Trello.authorize() after enabling a custom Power-Up I first get a page where I have to login

After that an Allow page:

And after that only a blank page... Success or error is not returned.
window.Trello.authorize({
type: "popup",
name: "my app",
interactive: true,
expiration: "never",
success: function () {console.log("Success") },
error: function () { console.log("fail"); },
scope: { write: true, read: true },
});
The problem has appeared now but it has worked before - Any Ideas?