문제

how do i write a client application to test OAuth 2.0? I found documentation on configuring wso2 identity server, but did not find any docs on where to download oauth client libraries and how to use them

도움이 되었습니까?

해결책

You can write a simple HTTP client to call OAuth end points. For this, You can use the Apache HTTP client library. And also, you can use amber oauth client library to build messages easily. (for authorization code grant type, you may need some browser directs). WSO2 Identity server has some sample, that can try out four main grant types. You can find the sample web application code from here. I guess, if you can go through this code, you can see how client side has been implemented.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top