Publii keeps forgetting Login settings for Netlify
- This topic has 10 replies, 3 voices, and was last updated 9 months ago by .
- October 12, 2020 at 9:15 pm #4054elmo
lately I’m having trouble with the Netlify Settings. Publii keeps forgetting them. After saving and using the login data for a few times they are suddenly switched to:
publii-netlify-token token of the site.
It’s a bit annoying to save them over and over. It’s the same on different websites (all on Netlify). I’m on Publii Version 0.37.1 (0.37.1) on macOS Catalina Version 10.15.7
Thanks and keep the good work up!October 13, 2020 at 3:43 pm #4103Tomasz Dziuda
Did you get Publii permissions to access keychain? Because Publii stores only references to keychain items in settings to avoid storing passwords in the site JSON files.October 14, 2020 at 6:03 am #4134elmo
Yes, I give permission. I’m always asked twice. I confirm it twice. Than it seems to loose the permission, becauce I’m asked again and I have to give it again (twice). After that, stored passwords are gone. I’m not sure, but it could be related to dublicated sites. I see it espacially on two sites where the one was cloned from the other (via the Publii function).
thanksOctober 15, 2020 at 9:22 pm #4154Tomasz Dziuda
Did you click “Always allow” or just “allow” on the keychain access popup?October 16, 2020 at 3:02 am #4156elmo
“Always allow”.October 17, 2020 at 1:06 pm #4177Tomasz Dziuda
I have an idea what can be a reason of your problems:
1) Could you open then input/site.config.json on the duplicated websites and check if the field “uuid” has any value?
2) If yes, please check what is stored in fragment like:
“id”: “publii-netlify-id uuid-1602939660861-562217932”,
“token”: “publii-netlify-token uuid-1602939660861-562217932”
If these fields does not contain the “uuid-XXXXXXXXXX-YYYYYYYYY” string, then please make it empty in this file and save the file, then reopen Publii.
3) Please try to resave the Netlify Settings
4) Please open the site.config.json file again and please check if now the netlify-related fields contains the “uuid-XXXXXXXXXX-YYYYYYYYY” string. If yes – please check if problem still perists.
If my idea is correct, I will need to change few things during duplicating websites in v.0.38October 22, 2020 at 7:09 am #4239elmoThis reply has been set as private.October 23, 2020 at 3:31 pm #4276HopsWrites
I am having the same issues where I have to re-enter the Netlify ID and Token at least a couple times per day.November 6, 2020 at 5:46 pm #4463Tomasz Dziuda
Sorry it seems that I missed a notifications about this topic – it looks like to be some random issue while storing/restoring netlify access data.
I will try to find a reason and fix it in the next Publii release.November 8, 2020 at 8:09 pm #4477Tomasz Dziuda
I have found a reason of the problem – it will be fixed in Publii v.0.37.3 coming next week 🙂November 8, 2020 at 8:31 pm #4478HopsWrites
@Tomasz, thanks for sharing the update! Really glad I discovered Publii btw….awesome platform.
- You must be logged in to reply to this topic.