Skip to content
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

Token caching example needs some work for desktop bridge apps #61287

Closed
chitturs opened this issue Aug 21, 2020 · 2 comments
Closed

Token caching example needs some work for desktop bridge apps #61287

chitturs opened this issue Aug 21, 2020 · 2 comments

Comments

@chitturs
Copy link

RE: System.Reflection.Assembly.GetExecutingAssembly().Location in the example.

This doesn't work for packaged desktop apps (also called desktop bridge) since that location is read-only. To fix that you need to use Windows.Storage.ApplicationData.Current.LocalCacheFolder.Path + "\msalcache.bin" which is a per-app read/write folder for packaged apps.

https://developer.microsoft.com/en-us/windows/bridges/desktop/


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@shashishailaj
Copy link
Member

@chitturs Thank you for your feedback . We will investigate and update the thread.

@shashishailaj
Copy link
Member

@jmprieur Could you please review this one and see how best this information is included in the documentation ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants