Me and probably many more (i know at least two more), not being able to work with the tailwindui framework since the last version of pine grow, (5.98?).
Getting this response when logging in: 419 | PAGE EXPIRED
I think the problem might be that there is a .dot in the domain of a cookie + set to secure + lax. This inside an iframe doesn’t work well.
So to hack around this and use tailwindui framework, heres how:
Login to your tailwindui account in chrome and get dev tools open
Press f12 in pinegrow to get dev console up.
Then, copy & paste all keys and values from application->cookies from chrome into pinegrows cookies. This is replacing the logged in session.
Remove the dot in the domain name where it says “.tailwindcss.com”.
Force reload pine grow, ctrl+shift+r(win) cmd+r(osc)
Reload the plugin from the down arrow in plugins toolbar->reload
Press back once, and you are logged in.
Quite messy, yea…
But far more easier than my previous attempts to get around this, by writing a plugin that uses a local scraped copy of tailwindui component library.
Probably easiest fix for pinegrow devs. is to try and disable cors, if possible, or maybe have a local proxy that replaces cookie values and iframe that one in the framework.
I want a refund. Pinegrow keeps eating its own turd, and I am not interested in copy pasting cookies each time I want to use tailwind. It doesn’t even remember my password. wtf.
@rslav TailwindUI is a third-party site and we have no control over their server setup and the way how they set their session cookies. We are looking for a solution that will let users open TWUI in the Library panel, without copy-pasting cookies.