Branch | Build Status |
---|---|
master |
This is the platform for both the product Digital Enable Hub & Digital Enable Gateway .This includes all the required components for managing web components , mediator component, analytic tools etc..
If you are using authorize-token-generator .jar file please plase the mig_aouth_token.properties file in /repository/conf/ location.
To enbale Api invocation Handler you should add below configuration to Mig and Hub Configurations. Below xml snippet should be added in mobile-connect.xml
<SupportedGrantType>
<GrantTypeName>authorization_code</GrantTypeName>
<!--GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler</GrantTypeHandlerImplClass-->
<GrantTypeHandlerImplClass>com.wso2telco.grant.handler.CustomAuthCodeGrant</GrantTypeHandlerImplClass>
</SupportedGrantType>
Copy the api-invocation-handler-.jar file to <HUB_HOME>/repository/componenet/dropins/
Place the mig_aouth_token.properties file in /repository/conf/ location.
Edit the API synapse to add below handler at the top of handlers [on our auth token userinfo apis] For token, userinfo API synapse add the below snippet additionaly before tag of