Question: how oauth works in web api?
Answer: API server asks auth server for user information for the given access token . Auth Server returns details about user, profile pic, email etc. API server identifies the user, sends him the response along with access token. client sends the access token to the api server on next request.