FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. alan.rutter
    3. Best
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 13
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by alan.rutter

    • Angular and .NET - totally confused

      Hi all,
      I am a seasoned developer but completely new to authentication. I have read lots of articles and watched videos but all this has done is confuse the hell out of me.

      I have an Angular 17 front-end application that I want to add Authentication and Authorization to. I decided to use FusionAuth as I can host it in docker locally.

      My Angular application runs on the usual localhost:4200 and FusionAuth on localhost:9011. I can do login flow but when I try to call getUserInfo() from an Angular service, I am seeing a CORS error in Google Chrome console window.

      I am not sure that I am going about things the right way. I will have a backend API that uses .NET Core - should I be writing auth as part of the backend using FusionAuth .NET SDK?

      Do I need to use the FusionAuth Angular SDK at all?

      Eventually the frontend and backend will be deployed into Azure container apps environment using a local Azure Postgresql database for Fusionauth to connect to.

      Does any of this make sense?

      Regards
      Alan

      posted in Q&A net angular
      A
      alan.rutter