puter icon indicating copy to clipboard operation
puter copied to clipboard

Gray screen when running `puter.ui.authenticateWithPuter()`

Open reynaldichernando opened this issue 1 year ago • 4 comments

repro website: https://rey-authwithputer.puter.site

how to repro

  1. open the link in incognito
  2. click continue
  3. stuck in gray screen
Image

the complete code for this page

<html>

<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        // Presents a dialog to the user to authenticate with their Puter account.
        puter.ui.authenticateWithPuter().then((user) => {
            console.log(user)
        });
    </script>
</body>

</html>

if it was working, i would expect it to console log my user data, but i couldn't get to the username and password input

reynaldichernando avatar Nov 04 '25 10:11 reynaldichernando

another data point: actually if i try it on non-incognito, where i already have puter logged in at puter.com, it just works plus it doesn't prompt me to input username or password any more

reynaldichernando avatar Nov 04 '25 10:11 reynaldichernando

src="https://js.puter.com/v2/

Is it down currently?

shamrat05 avatar Nov 04 '25 15:11 shamrat05

this Puter auth flow will not work in Incognito Mode on most browsers (especially Chrome), because it depends on third-party cookies, localStorage, and popup/redirect authentication, all of which are heavily restricted in Incognito.In Incognito mode, Chrome blocks:

Third-party cookies (default) LocalStorage for third-party iframes IndexedDB in cross-site contexts Some popup redirects depending on strictness

solution could be : Allow third-party cookies in Incognito

hassan689 avatar Nov 15 '25 10:11 hassan689

This issues has been resolved. We have a bug in our promise handling, which was fixed a while ago. Sorry for the delay, everybody. We're committed to being much faster to respond this year! 🫡

jelveh avatar Jan 13 '26 17:01 jelveh