On Tue, Sep 5, 2017 at 10:06 PM, <[email protected]> wrote: > Hi Ahamed, > > > > Thank you for your response I found the configuration files. Is it > possible to change the /token context attribute to take a path variable in > /token and pass that to /oauth2/token. Eg. > > > > <api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" > context="/{domain}/token"> >
And your ultimate target is to pass this particular parameter to the password grant handler is it? > > > Thank You, > > Shiva Kumar KR > > > > *From:* Farasath Ahamed [mailto:[email protected]] > *Sent:* 05 September 2017 21:26 > *To:* [email protected] > *Cc:* WSO2 Developers' List <[email protected]> > *Subject:* Re: [Dev] Where can I find /token endpoint source code. > > > > Hi Shiva, > > > > /token exposed is actually a proxy to /oauth2/token which is the actual > endpoint that handles your token request. Souce code for OAuth2 Token > Endpoint can be found in [1]. > > You can find the proxy configuration for /token in APIM_HOME/repository/ > deployment/server/synapse-configs/default/api/_TokenAPI_.xml > > > > > > [1] https://github.com/wso2-extensions/identity-inbound- > auth-oauth/blob/v5.3.4/components/org.wso2.carbon. > identity.oauth.endpoint/src/main/java/org/wso2/carbon/ > identity/oauth/endpoint/token/OAuth2TokenEndpoint.java > > > > > > Thanks, > > Farasath > > > Farasath Ahamed > > Software Engineer, WSO2 Inc.; http://wso2.com > > Mobile: +94777603866 > > Blog: blog.farazath.com > > Twitter: @farazath619 <https://twitter.com/farazath619> > > <http://wso2.com/signature> > > > > > > > > On Tue, Sep 5, 2017 at 9:13 PM, <[email protected]> wrote: > > Hi WSO2 team, > > > > I want to know in which class /token url request is handled. It will be > very helpful for me if any one suggest which class name and project. > > > > Thank You, > > Shiva Kumar KR > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
