마음의 안정을 찾기 위하여 - OAuth인증 검증 툴 - OAuth Signature Validation Tool
2400676
33
406
관리자새글쓰기
태그위치로그방명록
별일없다의 생각
dawnsea's me2day/2010
색상(RGB)코드 추출기(Color...
Connection Generator/2010
최승호PD, '4대강 거짓말 검...
Green Monkey**/2010
Syng의 생각
syng's me2DAY/2010
천재 작곡가 윤일상이 기획,...
엘븐킹's Digital Factory/2010
OAuth인증 검증 툴 - OAuth Signature Validation Tool
Open API | 2010/12/08 17:13
페이스북/트위터등에서 제공하는 OpenAPI를 이용하기 위해서는 OAuth인증 방식을 사용해야 하는데, 이를 테스트 할 수 있는 툴이 있어 소개하고자 한다. 소스(C#)까지 제공하고 있으니, 관심있는 사람이라면 소스를 분석해보는 것도 좋은 방법이 될듯하다.


OAuth Signature Validation Tool

One of the most frustrating things about working with OAuth is getting back an error that the signature is invalid. There are numerous reasons why this can happen, but we have found that in most cases it is caused by some bug in the OAuth library of one of the parties involved. At Mashery, our OAuth layer interacts with numerous clients using a wide variety of OAuth libraries; from publicly available ones down to the homegrown libraries. Trying to debug the dreaded signature invalid situations is often difficult.  Each party swears that their library is performing the correct calculations. One of the quickest ways to figure out from where the problem is originating from is to calculate the signature using a third party library and see which one it matches. While not 100% accurate, as there is the potential for the same bug in two different library, it sure helps to narrow the odds.

What we have found while searching for this is that there are a number of OAuth testing suites and applications available online, but not just a utility that would allow one to enter all the different parameters and generate a signature based upon them. This led Rob Richards here to create a .NET application using the C# OAuth library. Since our internal libraries are currently in other languages, this provides a good comparison to the signatures we generate in-house.

The source and application provided here is just an initial release, so may not be considered eye candy, but provides a good amount of functionality to start debugging OAuth signature issues. Currently only GET parameter requests are supported. Time permitting, additional support for POST bodies and HTTP header signatures may be added in the future. Please send any questions and/or problems to support@mashery.com.

The project was created using Visual Studio 2008 SP1 and built against .NET 2.0 framework. For those using other versions of Visual Studio, such as 2005, you will need to manually edit the project file and change MSBuildToolsPath to MSBuildBinPath. Once done, the project can be opened directly with Visual Studio 2005.

OAuthSig.zip
OAuthSig_source.zip

링크 : http://support.mashery.com/docs/tips_and_tricks/oAuth
2010/12/08 17:13 2010/12/08 17:13
이 글의 관련글
  • OAuth란?
  • Article tag list Go to top
    View Comment 0
    Trackback URL :: 이 글에는 트랙백을 보낼 수 없습니다
     
     
     
     
    PREV : [1][2][3] :
    «   2024/12   »
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31        
    전체 (1323)
    출판 준비 (0)
    My-Pro... (41)
    사는 ... (933)
    블로그... (22)
    My Lib... (32)
    게임 ... (23)
    개발관... (3)
    Smart ... (1)
    Delphi (93)
    C Builder (0)
    Object... (0)
    VC, MF... (10)
    Window... (1)
    Open API (3)
    Visual... (0)
    Java, JSP (2)
    ASP.NET (0)
    PHP (6)
    Database (12)
    리눅스 (29)
    Windows (25)
    Device... (1)
    Embedded (1)
    게임 ... (0)
    Web Se... (2)
    Web, S... (21)
    잡다한... (7)
    프로젝트 (0)
    Personal (0)
    대통령... (13)
    Link (2)