Re: Rest API bypassing certain APIs from authentication
Hi Michael, I added the configuration of auth="false" for the specific operation instead of the resource. This worked. Thank you On Tue, Feb 22, 2022, 14:47 Michael Brohl wrote: > Hi Rishi, > > how is your operation inside the resource being configured? > > If ommitted, auth defaults to true there. > > Best regards, > > Michael Brohl > > ecomify GmbH - www.ecomify.de > > > Am 22.02.22 um 12:56 schrieb Rishi Agr: > > Hi, I am implementing an API that needs to be processed without > > authentication. This API will be publicly accessible. I have tried to set > > the rest and services definition with auth="false" but it has not helped. > > Below is a small code > > rest.xml > > > publish="true" > > name="Some name" path="/rest/test"> > > > > services.xml > > > location="com.test.MyService" invoke="seomMethod" > auth="false"> > > > > Can someone let me know what am I missing or doing wrong? > > >
Re: Rest API bypassing certain APIs from authentication
Hi Rishi, how is your operation inside the resource being configured? If ommitted, auth defaults to true there. Best regards, Michael Brohl ecomify GmbH - www.ecomify.de Am 22.02.22 um 12:56 schrieb Rishi Agr: Hi, I am implementing an API that needs to be processed without authentication. This API will be publicly accessible. I have tried to set the rest and services definition with auth="false" but it has not helped. Below is a small code rest.xml services.xml Can someone let me know what am I missing or doing wrong?
Rest API bypassing certain APIs from authentication
Hi, I am implementing an API that needs to be processed without authentication. This API will be publicly accessible. I have tried to set the rest and services definition with auth="false" but it has not helped. Below is a small code rest.xml services.xml Can someone let me know what am I missing or doing wrong?