Hi all,
Issue resolved after an offline discussion with Bhathiya. I was using
incorrect token URL. Token endpoint URL should be in form,
${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/token.
Thanks Bhathiya..
Regards,
Vinod
On Tue, Mar 15, 2016 at 3:04 PM, Vinod Kavinda <[email protected]> wrote:
> Hi Bathiya,
> Please find the attachment.
>
> Thanks,
> Vinod
>
> On Tue, Mar 15, 2016 at 2:58 PM, Bhathiya Jayasekara <[email protected]>
> wrote:
>
>> Please post complete error trace..
>>
>> Thanks,
>> Bhathiya
>>
>> On Tue, Mar 15, 2016 at 2:40 PM, Vinod Kavinda <[email protected]> wrote:
>>
>>> Hi all,
>>> I'm trying to use the IS as a third party key manager for APIM (need to
>>> avoid DB sharing in the inbuilt setup in APIM). I have taken the existing
>>> DefaultKeyManagerImpl and changed to invoke an external IS and retrieve
>>> admin credentials for IS from a the configuration.
>>>
>>> When I try to register the OAuth client, I get a 302 response that
>>> redirects to login page. After some debugging, I found out that the client
>>> creation phase is getting completed and the error occurs when trying to get
>>> new application access token.
>>> Error in the APIM console is,
>>>
>>> "Error while obtaining the application access token for the
>>> application:xxxx"
>>>
>>> Please note I'm using the existing APIM keymanager implementation except
>>> the above changes.
>>>
>>> Any help on this is highly appreciated.
>>>
>>> --
>>> Vinod Kavinda
>>> Software Engineer
>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>> Mobile : +94 (0) 712 415544
>>> Blog : http://soatechflicks.blogspot.com/
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>> *Blog: http://movingaheadblog.blogspot.com
>> <http://movingaheadblog.blogspot.com/>*
>>
>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>
--
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev