sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
862 stars 43 forks source link

Missing Github Login Button on Login Page in Firefox #170

Closed MSalah73 closed 3 months ago

MSalah73 commented 3 months ago

I've encountered a bug while trying to login to the admin panel via github using firefox. The login button is missing, and the page just says "signing in...". Everything works as intended when switching to a chromium based browsers.

Screenshot 2024-06-22 144045

kyoshino commented 3 months ago

Hmm, I also use Firefox to sign into client CMS instances. Will check 🤔

kyoshino commented 3 months ago

I’ve tested with a couple of instances but haven’t been able to reproduce the issue. Do you see any error in the browser’s console?

MSalah73 commented 3 months ago

Yes, its a BridgeTimeout error - throw.ts line 4 Screenshot 2024-06-23 095712

kyoshino commented 3 months ago

That’s weird, it’s not an error of Sveltia CMS. There is no TypeScript code here. A quick search for BridgeTimeout finds an IBM application. Or perhaps do you use any browser extension?

kyoshino commented 3 months ago

https://github.com/ProtonMail/WebClients/blob/main/applications/pass-extension/src/app/content/bridge/message.ts#L53 https://github.com/ProtonMail/WebClients/blob/main/packages/pass/utils/fp/throw.ts

Do you use the Proton Pass extension? Maybe disabling it temporarily solves the problem.

MSalah73 commented 3 months ago

Yes, but it appears that the problem wasn't Proton. I deleted all the cache, and now it seems to be working. That was shortsighted on my part.

kyoshino commented 3 months ago

Still not sure how that situation could have happened, but glad the problem has been solved!