I have created an application in .net 5 with uses bearer authentication for login. Now I have another requirement where in the application allows windows user to login if the name is already registered.
Can some one explain me the approach to accomplish this. In the application I have a flag "Enable windows authentication" based on that it should first make windows access approach. if it fails then bearer token auth approach.
Source: Windows Questions