简体   繁体   中英

Authenticating requests Auth0

Could someone explain how I authenticate my requests with auth0. I am using cloudflare workers for requests, and react for my frontend framework, although I'm sure this is irrelevant. My understanding is to verify the person sending the request is legit, I would send the jwt token from auth0 in the request header, then I would ask on my server for that persons token from auth0, and then I can check these are the same thus verifying the user is legit etc. Is this right or not? and could someone explain in greater detail like how do I get the users token from auth0?

Thanks!

Have you seen this tutorial in the Cloudflare documentation? Authorize users with Auth0 . It should be a great starting point to understand the process.

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