Skip to content

Commit

Permalink
add config for api resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumimku committed Aug 2, 2024
1 parent 01d715a commit 9811930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@
description="Manage offline invitations from the Console"/>
</Scopes>
</APIResource>
{% if impersonation.api_resource.enable is sameas true %}
<APIResource name="User Impersonation" identifier="system:impersonation"
requiresAuthorization="true"
description="Resource representation of the User Impersonation" type="TENANT">
Expand All @@ -1095,4 +1096,5 @@
description = "Allows to impersonate another user"/>
</Scopes>
</APIResource>
{% endif %}
</APIResources>
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"oauth.response_type.id_token_subject_token.enable": true,
"oauth.response_type.id_token_subject_token.class": "org.wso2.carbon.identity.oauth2.authz.handlers.SubjectTokenResponseTypeHandler",
"oauth.response_type.id_token_subject_token.validator": "org.wso2.carbon.identity.oauth.common.SubjectTokenResponseValidator",

"impersonation.api_resource.enable": true,
"oauth.grant_type.jwt.enable_iat_validation": "true",
"oauth.grant_type.jwt.iat_validity_period": "30",
"oauth.grant_type.jwt.enable_jwt_cache": "false",
Expand Down

0 comments on commit 9811930

Please sign in to comment.