When attempting to create a new project on step 1 “Connect to Git provider” and choosing “Deploy with Gitlab” a pop-up is opened.
The pop-up shows an “Authorized” message but nothing happens after this message.
If you open the console from the pop-up you see the following error message
Uncaught TypeError: Cannot read properties of null (reading 'postMessage')
This won’t allow me to continue on the project creation.
I tried with a different computer and incognito and got the same message.
Will append images:
Additional Notes
If you click into the link in the error message you can see the line where the error is.
On line 85 there is a condition:
if ( host === "app.netlify.app" || host === "app.netlify.com" || host === "localhost") {
However, host is none of those strings:
const match = e.origin.match(/https?:\/\/([^:]+)(:\d+)?$/);
let host = match && match[1];
When running the code to get the host
value in the console, the value comes up as api.netlify.com
which doesn’t match any of the conditions.