Azure Active Direcrtory only allows 1 person at a time to login

Shawn Rye 41 Reputation points
2021-11-10T20:31:44.33+00:00

So I am using Azure AD to allow users to login to a website that I built the login process works fine I have the Web Application hosted in Azure, the issue is it only allows 1 person to be logged in at a time, so if I login its fine if someone else logs in and I refresh the screen all my information is gone and I am now them, any ideas on how to solve this?
I am using C# .Net 5 and the Web Application is Blazor Server

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
208 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,396 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,562 questions
0 comments No comments
{count} votes

Accepted answer
  1. AgaveJoe 26,136 Reputation points
    2021-11-10T21:59:59.1+00:00

    This is a design bug and probably the result of implementing static variables. Blazor Server is a single application used by many users. A static variable is a single global instance exposed to every web application user. The last user to change the static variable wins in a web application.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful