This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko 5 years, 4 months ago.
- Topic
Hello,
I’m trying to generate a link to files with specific id in app/attachment directory with public access.
These files are added using AttachmentBundle, Now I need a way to generate a link to these files without authentication.
I created a path in security.yml that does not require authentication1- { path: ^%web_backend_prefix%/rest/*, roles: IS_AUTHENTICATED_ANONYMOUSLY }But still as I type its route “http://localhost/admin/property/rest/{id}” ({id} is my property id) I keep seeing admin login page also I created a token for this action but it didn’t work.
How can I solve this issue with attachment file access??
Regard,
Farid
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.