Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor webassembly pwa session storage not persisting after deployment to Azure

$
0
0

I am developing a Blazor webassembly pwa, locally running the project will store the user in the session storage and keep them there.

But when I deploy to Azure (linux app service) the session/local storage is not persisting. So when navigating to a different page (within my application) or refreshing the page the oidc.user variable is removed from the session storage and therefor my user is logged out.

local working session storage

  • Locally it's working and the key pair will persist.

enter image description here

  • When deployed to Azure the same key will be added after loggin in succesfully but after a redirect it's removed.

So the real question is: Why is my session storage working locally but does it remove the oidc.user key pair after a redirect, Causing the user to be logged out.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>