Ouvert Fermé

About best practice for calling API from a webpage without login #5371


User avatar
0
portx-dev créé

I am developing a web application with (UI type**: Angular) in ABP. There is a requirement to call server-side APIs to obtain and display necessary information (for example, the unit name of an organization, etc.) on a specific web page without login. Is there any best practice for achieving this requirement while maintaining security?

  • ABP Framework version: Commercial 7.2
  • UI type: Angular
  • DB provider: EF Core

1 Réponse (s)
  • User Avatar
    0
    maliming créé
    Équipe d'assistance Fullstack Developer

    hi

    There is no best practice for anonymous API calls.

    Do not return any sensitive data, as it is allowed to call anonymously.

Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11