Microsoft Identity provides a feature called persistent storage, which allows authentication information to be persisted across sessions and tabs. However, this feature is not designed to work across different browsers.
The authentication information is stored in a cookie by default, and cookies can only be accessed by the same browser that created them. Therefore, authentication cannot be cached across tabs and browsers in Blazor Server with Microsoft Identity.
If you want to share authentication information across different browsers or devices, you would need to implement a custom solution, such as using a database or a distributed cache.
Asked: 2022-06-14 11:00:00 +0000
Seen: 10 times
Last updated: May 14 '21