Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM OroCRM – Programming Questions api/public pages/api

This topic contains 1 reply, has 2 voices, and was last updated by msulima msulima 1 year, 5 months ago.

  • Creator
    Topic
  • #25382

    Christian Kleinhuis
    Participant

    hello, how is the proposed way to achieve the following:

    – public controller without loging in, but with twig output
    – and/or public controller with json output

    if it is not possible to use a fully public endpoint, what do you say to the following approach

    – create public-api user, which is used to authenticate aggainst the application
    – eventually create a private customer/user using this account, which then can later be used to login to the frontend

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #25383
    msulima
    msulima
    Moderator

    Hi,
    you can security firewalls pattern and add new rule for your route.
    For example:

    This can be done to fit your needs, in 2 different ways:
    1. application’s security.yml
    2. bundle’s app.yml in Resources/config/oro


Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossossossosso