How Oauth Works In Rest Api?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When a request to access an OAuth–protected resource is sent, the service will check whether the requester has permission to access the resource. If so, it will generate a special authorization token (usually consisting of a long and random string of characters) that can be used in subsequent requests.
The requester then sends the authorization token to the OAuth provider in order to receive their access token. The access token is usually a shorter string of characters that is used to identify the requester. With the access token, the requester can send additional requests to access protected resources. Additionally, when the user’s access token expires, he or she must request a new one from the OAuth provider.