Skip to content

Commit fae9e52

Browse files
committed
new registry key name
1 parent 3e255df commit fae9e52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/core/jetbrains-community/resources/META-INF/aws.toolkit.core.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
<postStartupActivity implementation="software.aws.toolkits.jetbrains.core.plugin.PluginAutoUpdater"/>
6868
<postStartupActivity implementation="software.aws.toolkits.jetbrains.core.AwsTelemetryPrompter"/>
6969

70-
<registryKey key="aws.dev.useDAG" description="True if DAG should be used instead of authorization_grant with PKCE"
71-
defaultValue="true" restartRequired="false"/>
70+
<registryKey key="aws.dev.pkceAuth" description="True if new authorization requests should be using the PKCE grant flow"
71+
defaultValue="false" restartRequired="false"/>
7272
<registryKey key="aws.telemetry.endpoint" description="Endpoint to use for publishing AWS client-side telemetry"
7373
defaultValue="https://client-telemetry.us-east-1.amazonaws.com" restartRequired="true"/>
7474
<registryKey key="aws.telemetry.identityPool" description="Cognito identity pool to use for publishing AWS client-side telemetry"

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/sso/SsoAccessTokenProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SsoAccessTokenProvider(
5656
get() = _authorization.get()
5757

5858
private val isNewAuthPkce: Boolean
59-
get() = !Registry.`is`("aws.dev.useDAG", false)
59+
get() = Registry.`is`("aws.dev.pkceAuth", false)
6060

6161
private val dagClientRegistrationCacheKey by lazy {
6262
DeviceAuthorizationClientRegistrationCacheKey(

0 commit comments

Comments
 (0)