added identity-extension ouath2 component

merge-requests/1/head
Amalka Subasinghe 3 years ago
parent 3ef50dd8dd
commit 780b6bab40

@ -36,6 +36,10 @@
<groupId>com.h2database.wso2</groupId>
<artifactId>h2-database-engine</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.devicemgt</groupId>
<artifactId>org.wso2.carbon.device.mgt.oauth.extensions</artifactId>
</dependency>
</dependencies>
<build>

@ -85,4 +85,15 @@
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>${entgra-iot-core}/repository/components/dropins</outputDirectory>
<includes>
<include>org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.oauth.extensions</include>
</includes>
<!--<useProjectArtifact>false</useProjectArtifact>-->
<!--<useTransitiveDependencies>true</useTransitiveDependencies>-->
<!--<unpack>false</unpack>-->
</dependencySet>
</dependencySets>
</assembly>

@ -302,3 +302,10 @@ maxHttpHeaderSize="16384"
[transport.http.properties]
maxHttpHeaderSize="16384"
[oauth.grant_type.jwt_bearer]
grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.ExtendedJWTGrantHandler"
[[oauth.custom_grant_type]]
name="access_token"
grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler"
grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator"

@ -83,6 +83,11 @@
<artifactId>org.wso2.carbon.identity.jwt.client.extension</artifactId>
<version>${carbon.device.mgt.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.devicemgt</groupId>
<artifactId>org.wso2.carbon.device.mgt.oauth.extensions</artifactId>
<version>${carbon.device.mgt.version}</version>
</dependency>
<!--Orbit dependencies-->
<dependency>