Cant use http-only-cookies on editor
Im having trouble using the http -only -cookies on the editor , is something that always has work well using Nordcraft extension , but since some weeks the extension stop working for me . Authentication flows work well on production and on preview pages , is just in the editor that the extension is not getting the cookies . I can see cookies in the browser DevTools Application tab under Cookies https://editor.nordcraft.com/ for both cookies (with domain of preview pages ) Could someone guide me through the most common things to check when troubleshooting ? Hi ! Im using the chrome extension on brave (Chrome based ) , but also install it to Edge Browser and in Chrome , both with same results . The strange things it is something worked well for me all this time (some weeks ago ) . Btw maybe would be usefull to add an option in the "Cookies " tab to manually add cookies by getting it from the DevTools /Application as an fallback option . For now , I do something similar to live test api calls in the editor : I hard code the access _token in the header api cal , but I have to manually reverse to a formula using http -only -cookie after tests . Could you try logging into [this project ] ( https://editor.nordcraft.com/projects/erik_auth/branches/main/components/LoginPage?mode=design&rightpanel=style&canvas-width=800&canvas-height=800&leftpanel=Cookies ) in the editor and see if the session works ? After logging in in test mode , you should see the session . And if you navigate to a different page in the editor and back to the login page in the editor , the session should still be there . At least it seems to work for me 🤷♂️ Credentials : erik +auth2 @toddle .dev 1234512345 (Second cookie is capture by the extension and first is not ) The main branch of a project doesn 't have a prefix before the project id in the url Oh , sorry . I didn 't notice that . Right , so as mentioned we changed from using toddle .site to nordcraft .site for our preview domains . Are you still visiting your toddle .site domain when visiting your branch preview url ? If so , that would explain why it doesn 't work . I suggest you : - Delete any * .toddle .site cookies in your browser - Click the preview button in the editor to visit dev -humanli _convex .nordcraft .site - Authenticate (either in preview or from within the editor 's preview ) - Verify if things work Oh , and if we still link to the * .toddle .site domain from somewhere , please let me know where that link is so we can fix that 🙏 But the problem wasnt in the editor or cookies That makes sense . Glad you figured it out 👍 Thanks for the help !





.jpeg/public)