Git Product home page Git Product logo

Comments (18)

warthurton avatar warthurton commented on May 26, 2024 1

It might be the Azure AD permissions granted when the app is installed from the package / store. I wonder if the cause is the conditional policy setup by our org for MFA.

I will experiment with a manually created App registration when I have some additional time to figure out how to use the Windows.Storage.ApplicationData.Current.LocalFolder when the application isn't packaged.

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

hmmm odd, here is the token area. If you have issues let me know
C:\Users\username\AppData\Local\Packages\37828IsaacLevin.197278F15330A_zfcjmmeb3zeaa\LocalState\token.json

from presencelight.

sborg-ms avatar sborg-ms commented on May 26, 2024

Oh I get that also - I thought that was expected on restart (which is a pain but thought it was needed!)... I have the token file as noted but it does prompt on every restart.

from presencelight.

warthurton avatar warthurton commented on May 26, 2024

I wiped that whole 37828IssacLevin directory and still get the same result. Could our organization disallow storage of cached credentials? I'll d/l the code later and trace the run.

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

All the code to do this is in SettingsService. I try to create the file where the exe is (program files) and if that fails I fall back to local storage. I can take a look and see what happens attaching to VS

from presencelight.

sborg-ms avatar sborg-ms commented on May 26, 2024

2.0.75.0 - still prompts for auth on every start of the app.

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

I will need to wait to test as VS Attach to deployed WPF isn't working quite right with .NET 5

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

@warthurton any update?

from presencelight.

thoemmi avatar thoemmi commented on May 26, 2024

The same happens for me. However, I've installed PresenceLight via chocolatey, so I guess it's not related to the Microsoft Store.

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

Installed the same way. @thoemmi have you looked at the token file mentioned above?

from presencelight.

warthurton avatar warthurton commented on May 26, 2024

@warthurton any update?

I'm having problems getting it to work when I compile myself. I have been swamped lately so I haven't been able to spend as much time working on it as I wish.

from presencelight.

thoemmi avatar thoemmi commented on May 26, 2024

@isaacrlevin Yes, there's a token.json file. However, it's a binary file, so I cannot read its content.

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

This is now fixed in Nightly. The token is moved to a location that PresenceLight has guaranteed write access to.

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

@thoemmi can you validate?

from presencelight.

thoemmi avatar thoemmi commented on May 26, 2024

Unfortunately, 3.0.5 does not fix the issue. May I should give the Microsoft Store version a try?

from presencelight.

isaacrlevin avatar isaacrlevin commented on May 26, 2024

3.0.13 is the one you want. Available by nightly install

from presencelight.

thoemmi avatar thoemmi commented on May 26, 2024

I can confirm that 3.0.13 fixed the issue 👍

from presencelight.

warthurton avatar warthurton commented on May 26, 2024

Sorry for the delay. I also can confirm resolution of the error.

from presencelight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.