-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keeps asking for Authentication #71
Comments
Hello @CPritch I'm really glad to hear that you and your team is enjoying SPGo! regarding the credentialing issues. SPGo stores the hashed credentials in your local user's temp folder, using a filename based on the unique URL of your SharePoint site. I'm not sure if folder redirection is somehow randomizing the filename, or if your corporate policy is preventing/clearing your user's temp data frequently. Can you do me a favor and log in to your SP Site, with Thanks! |
Thanks for the reply. Upon taking a look at the output of VS Code and the local Temp folder it definitely popped up with a message indicating that it couldn't find the necessary JSON. When I end up looking in the Temp folder I can see all the profiles that I currently have open in VS Code. But none from previous sessions on another working day. It definitely looks like SPGo is correctly saving and picking up these files. It definitely looks like what is happening is not related to SPGo but some sort of environment issue. I'll speak with our infrastructure dept and see if this could be the cause. Probably something wiping out these files on re-boot and login. Cheers again for the help, I'll close this ticket. |
And after a final investigation we had a scheduled task running from our device management system. It was clearing out our user Temp folder. Again, fantastic extension. Being able to sync a classic SharePoint and integrate with our Vs Code workflow has been a godsend. |
@CPritch, so giving a "star" could be a good contribution to the project to be more visible by new folks! ;) |
@CPritch - Thanks for the detailed response! In a positive turn, VSCode 1.31 added support for extension-specific data storage. I'm going to investigate using this feature to store the hashed password files so that file durability is tied to the extension, rather than a less-permanent temp file. I'll provide an update once I've finished the research. |
@CPritch I just release SPGo 1.6.1 to the VSCode marketplace which uses extension-specific storage rather than the OS Temp file. This should resolve your issue. Please give it a try and let me know if it works for you. Thanks for your patience! |
I'm going to close this issue as resolved. Please reopen or create a new issue if the bug persists. |
We're currently experiencing an issue where authentication has to be re-entered on every new session.
Here's our SPGo config setup:
We have folder redirection set up in our company if that provides any helpful env info. If you need anything more from me just say.
Awesome extension btw! Our department is moving to this currently as it allows for us to tentatively move away from SPD and more into VSCode for all dev work.
The text was updated successfully, but these errors were encountered: