Create app with no login controller

hi my friends ,
i want to create an app that dont need to force login ,
for example i have a controller named Xcontroller , i want user access this controller without login . because this controller will use a server response form external url and want to check some validation ,
i use ownCloud Documentation Overview but i cant understand API job , can some body please guide me?
thanks a lot

You can add the annotation “@PublicPage” to the controller method which is returning the page.

see core/apps/files_sharing/lib/Controllers/ShareController.php at baf07a7755009e76dcb10cf243330070ec41f194 · owncloud/core · GitHub

thanks a lot, you solve it <3

1 Like