Some time ago, I made a Sina Weibo account logon function for the customer's website, and made some research on the OAuth Protocol and related security protocols. By the way, I will record my learning experience. Here, we do not want to talk about
Douban API allows third-party applications to access user data through oauth. Therefore, oauth is the basis of our entire project.
Oauth authentication sounds mysterious, but it is actually quite simple.
Currently, most of the open platforms for
A friend needs to use the Sina Weibo interface in his project a few days ago. Therefore, he and his friend studied the information provided on the Sina Weibo open platform, first, you need to use these interfaces to log on and authorize users. The
To use oauth to successfully call the Google API, you must first obtain the oauth access token.
In the process of obtaining oauth access token, we need to solve the following problems in sequence:
1. Prepare timestamp, nonce, and HMAC-SHA1
Absrtact: The OAuth protocol provides a secure, open, and easy standard for the authorization of user resources. Unlike previous licensing methods, OAuth's authorization does not allow a third party to touch the user's account information (such as a
Android DropBox SDK Vulnerability (CVE-2014-8889) Analysis0x00 Preface
This article is a translation of the detailed analysis of DropBox SDK vulnerabilities by the ibm iss security team.
Today, personal data is stored on the cloud, so that services
3.1.2.6 Validation Error response (authentication error Response)The validation error response is an OAuth 2.0 authorization error response message, which is the message that the RP sends an authorization request and is returned by the response of
1, "Sina Weibo error code encyclopedia"
304 Not Modified: No data returned.
Bad Request: The requested data is illegal or exceeds the request frequency limit. The detailed error code is as follows:
o 40028: Internal interface Error (if there is a
1, the Web API core layer Design
In the current developed application scenario, we often need to access the WinForm client, app program, web program, and currently in the bustling micro-letter applications, such data should be provided by the same
For the heart of a young man who needs to enjoy everything, it does not take a price to get happiness.
1, "Sina Weibo error code encyclopedia"
304 Not Modified: No rarity was returned.
Bad Request: The request data is illegal, or crosses the plea
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.