Skip to content

Commit

Permalink
Merge pull request wso2-extensions#141 from lasanthaS/id-token-fix
Browse files Browse the repository at this point in the history
Add typ header validation for access tokens
  • Loading branch information
lasanthaS authored Aug 20, 2024
2 parents 7d32cd1 + 58581c9 commit d606265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.wso2.carbon.apimgt.api.model.ConfigurationDto;
import org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration;
import org.wso2.carbon.apimgt.impl.DefaultKeyManagerConnectorConfiguration;
import org.wso2.carbon.apimgt.impl.jwt.TypeEnforcedJWTValidatorImpl;

import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -46,7 +47,7 @@ public String getImplementation() {
@Override
public String getJWTValidator() {

return null;
return TypeEnforcedJWTValidatorImpl.class.getName();
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
</scm>
<properties>
<common.codec.version>1.15</common.codec.version>
<carbon.apimgt.version>9.27.0</carbon.apimgt.version>
<carbon.apimgt.version>9.29.191</carbon.apimgt.version>
<carbon.identity.version>5.25.686</carbon.identity.version>
<carbon.identity-oauth2-grant-jwt.version>2.2.4</carbon.identity-oauth2-grant-jwt.version>
<json.simple.version>1.1</json.simple.version>
Expand Down

0 comments on commit d606265

Please sign in to comment.