Hi Antonio,

OK thanks for your reply, I won't be using "Smart Gallery" then at
all. So in the "Generic OAuth2 Application" scenario what is then:
* Requested Access Score
* Authorization URL
* Token Endpoint
* Client ID
* Client Secret
In a situation if I don't want to use any service provider (such as
Github, Facebook etc.) but would like to use Amber Authorization and
Resource server.

Thanks,
Chris

On 19 September 2012 14:33, Chris Kruk <[email protected]> wrote:
> Hi Antonio,
>
> I've applied this patch which gave me just a generic form which still
> relays on external Authorization and Resource server, BTW "Smart
> Gallery" is still failing with the same error. Could you point me to a
> test suite which uses a local (Amber) Authorization&Resource server or
> refer to my first email in this topic please? From your documentation
> is seems this is possible and it would be nice to test this
> functionality.
>
> Many thanks,
> Chris
>
> On 19 September 2012 13:30, Chris Kruk <[email protected]> wrote:
>> Thanks Antonio. Is this patch in the latest revision 1387543, if yes
>> I've done my test against this patched version already.
>>
>> Thanks,
>> Chris
>>
>> On 19 September 2012 11:57, Chris Kruk <[email protected]> wrote:
>>> Dear Amber Developers,
>>>
>>> I've already done enough tests with Github configuration and I'm happy
>>> with the outcome. I'd like to start doing some additional tests with a
>>> scenario when Authorization and Resource server is native to Apache
>>> Amber. I guess this scenario has been covered in client demo under
>>> "Smart Gallery" where Authorization and Resource server are local to
>>> the Amber application. Unfortunately when I try to use Smart Gallery
>>> in step 0 to register application it failes with:
>>> 2012-09-19 11:43:27.870:WARN::/register
>>> org.apache.amber.oauth2.common.exception.OAuthSystemException:
>>> java.net.ConnectException: Connection refused
>>> <cut>
>>>
>>> When I was going through the source code I noticed that you use
>>> different set of urls for Smart gallery and External applications:
>>>  * SMART_GALLERY_REGISTER = "http://localhost:8090/oauthreg/register";;
>>>  * REGISTRATION_ENDPOINT = "http://localhost:9000/auth/oauth2ext/register";;
>>> The same for Auth and Resorce:
>>>  * SMART_GALLERY_AUTHZ = "http://localhost:8090/oaut /authorize";
>>>  * SMART_GALLERY_TOKEN = "http://localhost:8090/oaut /token";
>>>
>>>  * AUTHORIZATION_ENPOINT = "http://localhost:9001/auth/oauth2/authz";;
>>>  * ACCESS_TOKEN_ENDPOINT = "http://localhost:9001/auth/oauth2/token";;
>>>  * RESOURCE_SERVER = "http://localhost:9003/resource_server";;
>>>
>>> If I would like to test Amber client with Amber Authorization and
>>> Resource server which endpoints whould I be using? Also how can I add
>>> user name and password or Client ID and Client Secret into Amber
>>> Authorization server. I'd be glad for any link to the documentation or
>>> some hints how to do it. I've already seen this page
>>> https://cwiki.apache.org/confluence/display/AMBER which didn't give me
>>> enough information.
>>>
>>> Many thanks,
>>> Chris

Reply via email to