Closed SulemanAli303 closed 8 months ago
@SulemanAli303 Hello. Can you be more specific? What do you mean by sometimes public and sometime with Auth.
Do you mean that some endpoints should be public, and some behind Auth?
Or do you mean that the same point should either require an Auth or not, based on certain condition?
@zaro some endpoints should be public, and some behind Auth
@SulemanAli303 check if the @CrudAuth decorator is what you need.
https://gid-oss.github.io/dataui-nestjs-crud/controllers/#request-authentication
some time we need some endpoint public and some with Auth then how we can handle this