Call goes like this;
Store--> KM -->reads token endpoint from apimanager.xml (
<TokenEndPointName>/oauth2/token</TokenEndPointName>)
and for revoke we point gateway rest api(revoke api) which will be read
from api-manger.xml (<RevokeAPIURL>https://
${carbon.local.ip}:${https.nio.port}/revoke</RevokeAPIURL>)
Here revoke points the rest api deployed at gateway.
thanks.
On 3 November 2014 22:07, Colin Roy-Ehri <[email protected]> wrote:
> Does the regenerate token in the store also revoke the current token,
> calling the _revokeAPI_.xml in the gateway? I thought it did that to
> remove a locally cached value.
>
> Thanks,
> Colin Roy-Ehri
> Software Engineer
> *WSO2, Inc. : wso2.com <http://wso2.com/>*
> *Mobile* : 812-219-6517
>
> On Mon, Nov 3, 2014 at 11:31 AM, Vijayaratha Vijayasingam <[email protected]
> > wrote:
>
>> they read KM endpoint info from api-manger.xml
>>
>> On 3 November 2014 22:00, Bhathiya Jayasekara <[email protected]> wrote:
>>
>>> Hi Ratha,
>>>
>>> How does that happen then?
>>>
>>> Thanks,
>>>
>>> On Mon, Nov 3, 2014 at 9:59 PM, Vijayaratha Vijayasingam <
>>> [email protected]> wrote:
>>>
>>>> Regenerate token does not use deployed rest APIs at gateway.
>>>>
>>>> On 3 November 2014 21:49, Bhathiya Jayasekara <[email protected]>
>>>> wrote:
>>>>
>>>>> On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> May be it's coming from the db if not expired.
>>>>>>
>>>>> No, I'm generating a token for a new application.
>>>>>
>>>>>
>>>>>> Im not 100% sure. But you can confirm this by trying after expiry.
>>>>>>
>>>>>> sent from my nexus4, ignore any typos
>>>>>> On Nov 3, 2014 8:05 AM, "Bhathiya Jayasekara" <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi guys,
>>>>>>>
>>>>>>> I have a related question. In APIM store, when I generate an access
>>>>>>> token, isn't it using the Token API internally to retrieve the token? I
>>>>>>> can
>>>>>>> see that it works even when I have a wrong port in _TokenAPI_.xml.
>>>>>>> How does that happen?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Bhathiya
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Thanks Vanji.
>>>>>>>>
>>>>>>>> On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Synapse configurations has to be updated manually in the GW.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Best regards,
>>>>>>>>> vanji
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Thanks Udara.
>>>>>>>>>>
>>>>>>>>>> On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake <[email protected]
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Bhathiya,
>>>>>>>>>>>
>>>>>>>>>>> Yes, you have to update the _TokenAPI_.xml.
>>>>>>>>>>>
>>>>>>>>>>> [1] https://docs.wso2.com/display/AM170/Token+API
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>
>>>>>>>>>>>> When we have a port offset in APIM, do we have to change the
>>>>>>>>>>>> port accordingly in _TokenAPI_.xml manually? I believe we have to.
>>>>>>>>>>>> Please
>>>>>>>>>>>> correct me if I'm wrong.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Bhathiya Jayasekara*
>>>>>>>>>>>> *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/>*
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Udara Rathnayake*
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>>>>>
>>>>>>>>>>> Mobile : 1 4087864651
>>>>>>>>>>> Twitter : http://twitter.com/udarakr
>>>>>>>>>>> Blog : http://udarakr.blogspot.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Bhathiya Jayasekara*
>>>>>>>>>> *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/>*
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sivajothy Vanjikumaran
>>>>>>>>> *Senior Software Engineer*
>>>>>>>>> *Integration Technologies Team*
>>>>>>>>> *WSO2 Inc. http://wso2.com <http://wso2.com/>*
>>>>>>>>> *Mobile:(+94)777219209*
>>>>>>>>> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
>>>>>>>>> Twitter] <https://twitter.com/vanjikumaran> [image: LinkedIn]
>>>>>>>>> <http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293>
>>>>>>>>> [image:
>>>>>>>>> Blogger] <http://vanjikumaran.blogspot.com/> [image: SlideShare]
>>>>>>>>> <http://www.slideshare.net/vanjikumaran>
>>>>>>>>>
>>>>>>>>> This communication may contain privileged or other
>>>>>>>>> confidential information and is intended exclusively for the
>>>>>>>>> addressee/s.
>>>>>>>>> If you are not the intended recipient/s, or believe that you may
>>>>>>>>> have received this communication in error, please reply to the
>>>>>>>>> sender indicating that fact and delete the copy you received and in
>>>>>>>>> addition, you should not print, copy, re-transmit, disseminate, or
>>>>>>>>> otherwise use the information contained in this communication.
>>>>>>>>> Internet communications cannot be guaranteed to be timely, secure,
>>>>>>>>> error
>>>>>>>>> or virus-free. The sender does not accept liability for any errors
>>>>>>>>> or omissions
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Bhathiya Jayasekara*
>>>>>>>> *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/>*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Bhathiya Jayasekara*
>>>>>>> *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/>*
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Bhathiya Jayasekara*
>>>>> *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/>*
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> -Ratha
>>>>
>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *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/>*
>>>
>>
>>
>>
>> --
>> -Ratha
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
--
-Ratha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev