# WPF auto token refresh / caching

**URL:** <https://community.auth0.com/t/wpf-auto-token-refresh-caching/120433>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [November 7, 2023, 8:35pm UTC](https://community.auth0.com/t/wpf-auto-token-refresh-caching/120433 "2023-11-07T20:35:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthias.kammerlohr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matthias.kammerlohr/32/60295_2.png) [@matthias.kammerlohr](https://community.auth0.com/u/matthias.kammerlohr)\
**Post date:** [November 7, 2023, 8:35pm UTC](https://community.auth0.com/t/wpf-auto-token-refresh-caching/120433/1 "2023-11-07T20:35:35Z")

</div>

Hello,

is there a solution / suggestion for the automatic (silent) token refresh / caching (file / memory) in a WPF application?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 13, 2023, 5:56pm UTC](https://community.auth0.com/t/wpf-auto-token-refresh-caching/120433/3 "2023-11-13T17:56:15Z")

</div>

Hi @matthias.kammerlohr,

Are you looking for refresh tokens? It looks like there’s an example here (assuming you are using the `auth0-oidc-client-net`:

> <https://github.com/auth0/auth0-oidc-client-net/blob/1bef49ebbb41430644c50e8bbf852ef44450832f/docs-source/documentation/advanced-scenarios/refresh-tokens.md>

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 28, 2023, 3:19pm UTC](https://community.auth0.com/t/wpf-auto-token-refresh-caching/120433/4 "2023-11-28T15:19:58Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
