简体   繁体   中英

Auth0 securing API for public endpoint

I have web app developed using .net core and react front end. I am currently using Auth0 platform to secure APIs and some of the APIs need public access, how can I achieve the security of the public APIs using the Auth0 platform ?

You can also setup third party application in Auth0, then let those applications have whatever access you deem fit through the dashboard. This can be done programmatically via the management api if you are going to let users register their own applications via your own UI.

https://auth0.com/docs/api-auth/user-consent

I would recommend looking at using an api gateway to secure your APIs. AWS offers a service called Api Gateway that allows you to perform custom authorization on requests made to your endpoints before they're sent to your backend. So you could set up a custom authorizer to talk to Auth0 and filter requests that way.

This article might be a good place to start researching this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM