Disable default endpoints

Issue #15 resolved
Former user created an issue

Hello,

I'm trying to use the extension and it works great and basically does what I need. But I have one issue, for which I have no solution right now. Maybe I overlook something or it's just not possible.

I'd like to disable or override the default endpoints. In my specific task I have to do a few special things for the authentication. I just created my own auth endpoint but that than the default auth endpoint appears as /api/nnrestapi/auth which I don't need nor want.

I also need to disable the user endpoint, because I don't want to expose data and I also simply don't need it.

Is there any way to achieve this?

Comments (2)

  1. David Bascom

    Correct – currently disabling a default endpoint from nnrestapi is not possible. But I can see this usecase is important. We’ll add an option do disable all default endpoints in the next release.
    It will be a checkbox in the extension settings and/or a TypoScript setting.

  2. Log in to comment