Jimm
Jimm

Reputation: 8515

wso2 identity server client application

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

Upvotes: 0

Views: 635

Answers (1)

Asela
Asela

Reputation: 5821

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.

Upvotes: 1

Related Questions