Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config for request uri expiry time #4811

Merged
merged 4 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,14 @@
<KeySet>BCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz23456789</KeySet>
</DeviceCodeGrant>

<!--
Configs related to OAuth2 Pushed Authorization Requests.
Supported versions: IS 6.2.0 onwards.
-->
<PAR>
<ExpiryTime>60</ExpiryTime>
</PAR>

<!-- Configs related to OAuth2 token persistence -->
<TokenPersistence>
<Enable>true</Enable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,14 @@
<KeySet>{{oauth.grant_type.device_code.key_set}}</KeySet>
</DeviceCodeGrant>

<!--
Configs related to OAuth2 Pushed Authorization Requests.
Supported versions: IS 6.2.0 onwards.
-->
<PAR>
<ExpiryTime>{{oauth.par.expiry_time}}</ExpiryTime>
</PAR>

<!--
Config related to display name in Authorization Code Grant consent page.
Default value : false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"oauth.grant_type.device_code.expiry_time": "10m",
"oauth.grant_type.device_code.polling_interval": "5s",
"oauth.grant_type.device_code.key_set": "BCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz23456789",
"oauth.par.expiry_time": "60s",
"oauth.grant_type.token_exchange.grant_handler": "org.wso2.carbon.identity.oauth2.grant.token.exchange.TokenExchangeGrantHandler",
"oauth.grant_type.token_exchange.grant_validator": "org.wso2.carbon.identity.oauth2.grant.token.exchange.TokenExchangeGrantValidator",
"oauth.grant_type.token_exchange.enable": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"oauth.token.validation.validation_response_jwt_validity": "m",
"oauth.grant_type.device_code.expiry_time": "ms",
"oauth.grant_type.device_code.polling_interval": "ms",
"oauth.par.expiry_time": "s",

"authentication.adaptive.http_connections.default_timeout": "ms",
"authentication.adaptive.http_connections.connection_timeout": "ms",
Expand Down
Loading