https://medium.com/@anaschahid/how-to-use-the-new-net-8-identity-api-endpoints-along-with-email-service-integration-for-your-spa-79d807f9a343