- OAuth 2.0 Authorization Errors
- Authorization Required error for SF Site
- Retrieving Access_token using connected app and password grant_type
- Get Bearer token using curl
Please check this article.
Step One: Set Up Authorization
https://developer.salesforce.com/docs/atlas.en-us.238.0.api_rest.meta/api_rest/quickstart_oauth.htm