Open Closed

[Microservice template] Public website with angular #8144


User avatar
0
enterprise.stb.dev created

We're want to build public website with angular on project microservice template, but not find example anywhere only example with Blazor. You're can help me suggest example build this with angular BFF public gateway and authentication server with type confidential.

Best regard,

  • ABP Framework version: v8.2.2
  • UI Type: Angular
  • Database System: EF Core (Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes - Auth Server Separated (for Angular)
  • Exception message and full stack trace: None
  • Steps to reproduce the issue: None

5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The current public website only supports MVC.

    You can create a microservice app and use angular as UI type. then change this angular app.

  • User Avatar
    0
    enterprise.stb.dev created

    then change this angular app => yup, we're doing this. But with public web use authentication type **confidential ** but don't know configuration environment angular app how that?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    But with public web use authentication type **confidential ** but don't know configuration environment angular app how that?

    Can you explain in more detail(code and screenshots)?

    Thanks

  • User Avatar
    0
    enterprise.stb.dev created

    with sample Blazor AuthenServer config

    When usage angular how to security ClientSecret?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I think you should use public applications for angular.

    Confidential applications can hold credentials in a secure way without exposing them to unauthorized parties. They require a trusted backend server to store the secret(s).

    Public applications cannot hold credentials securely.

    https://auth0.com/docs/get-started/applications/confidential-and-public-applications

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11