Hi @technoworks,
Could you try the following:
- Remove the [HttpPost] attribute from the CurrentUser method in AccountController.cs
- Change the request method in SecurityService.GetAuthenticationStateAsync to HttpMethod.Get
- Test again with this change
Also make sure your NGINX is configured to redirect http requests to https.