strongloop / loopback-component-oauth2

oAuth 2.0 server for LoopBack
http://www.strongloop.com
Other
62 stars 60 forks source link

Protect only certain remote methods of a particular endpoint. #64

Closed vaideesh07 closed 7 years ago

vaideesh07 commented 7 years ago

I want to protect my /v1/Users endpoint using loopback-component-oauth2 but I want to have the create method (i.e. the POST /v1/Users) to be open and allow unauthenticated requests. I am not able to achieve this. I am able to either protect all endpoints or protect none . The User model in my application extends the default User model of loopback. How do I overcome this ?

Caiuse commented 7 years ago

I want to achieve the same thing but with the email /User/confirm endpoint. Is this possible?

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 7 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.