# Securing Blazor WebAssembly Apps

**URL:** <https://community.auth0.com/t/securing-blazor-webassembly-apps/46661>\
**Category:** Get Help\
**Tags:** dotnet, webassembly, .net, blazor\
**Created:** [July 21, 2020, 3:10pm UTC](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661 "2020-07-21T15:10:03Z")\
**Posts on this page:** 1\
**Showing post:** 187

<div class="post-metadata">

**Author:** ![sean.feldman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sean.feldman/32/34527_2.png) [@sean.feldman](https://community.auth0.com/u/sean.feldman)\
**Post date:** [March 25, 2023, 6:41pm UTC](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661/187 "2023-03-25T18:41:49Z")

</div>

I’m looking at adding an option to alert users when their session is about to expire, allowing them to extend their session should they choose so. The application is a Blazor WebAssembly application, so it could be C# (preferable) or JS code.

I’ve found some information on JS option using [`getTokenSilently`](https://community.auth0.com/t/check-session-without-extending-it/58569) but I’m not using [JS SDK](https://auth0.github.io/auth0-spa-js/classes/Auth0Client.html), but .NET. Auth and Management SDKs.

Alternatively, I considered looking at the information stored in the JWT token as `expires_at` and alerting based on the expiration date/time found in the token by calling the app’s server side.

I would appreciate pointers in the right direction on how to build this feature. Thank you.

---

_[View the full topic](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661)._
