This subject has been covered extensively in our forum and docs. Please take moment to search for an answer before posting.
https://auth0.com/docs/get-started/applications/confidential-and-public-applications/user-consent-and-third-party-applications