Hi Shiva, It is not clear which part you need to do customization here. In authorization code grant type[1- page 6],
1) First, you need to hit the Authorization endpoint and do the logging and get the authorization code. 2) Then need to provide the authorization code to the authorization_code grant type and get the access token. I don't believe you need to do a customization on step 2. if so you don't need to change the authorization_code grant type. If you need to customized step 1 please refer[2][3][4] [1]https://tools.ietf.org/html/rfc6749 [2] http://wdfdo1986.blogspot.com/2016/03/oauth-custom-basic-authenticator-with.html [3] http://xacmlinfo.org/2015/10/15/custom-authenticator-for-wso2-identity-server-wso2is-sso-login/ [4] https://dzone.com/articles/custom-authenticator-for-wso2-identity-server-wso2 Thanks and Best Regards, Saneth Dharmakeerthi *Associate Technical Lead* WSO2, Inc. Mobile: +94772325511 <http://wso2.com/signature> On Wed, Sep 6, 2017 at 6:29 PM, <shiv...@securelyshare.com> wrote: > How can I customize basic authentication of Authorization code grant type > page. Any handlers I can override. > > I tried to extend ExtendedAuthorizationCodeGrantHandler and overriding > validateGrant method, but when i click sign in the validateGrant method is > not invoking. Please see the configuration below. > > > > In WSO2_HOME/repository/conf/identity/identity.xml I have changed handler > to my implementation please suggest any way to override authentication when > I click sign in. > > > > <SupportedGrantType> > > <GrantTypeName>authorization_code</GrantTypeName> > > <!--GrantTypeHandlerImplClass> > org.wso2.carbon.apimgt.keymgt.handlers.ExtendedAuthorizationCodeGrant > Handler</GrantTypeHandlerImplClass--> > > <GrantTypeHandlerImplClass>org.wso2.carbon.test. > SSAuthorizationCodeGrantHanlder</GrantTypeHandlerImplClass> > > </SupportedGrantType> > > > > > > Thank You, > > Shiva Kumar KR > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev