Skip to content

Commit

Permalink
LX-77 Rename JIT user_groups scope & claim
Browse files Browse the repository at this point in the history
To be in line with community standards renaming OIDC user_groups scope, claim.
Also is a custom scope naming limitation (customScopeName <-> resourceServerIdentifier/scopeName) in the aws cognito OIDC provider, and we would like to have JIT enabled also for cognito idp.
  • Loading branch information
jeskepetr committed Feb 21, 2024
1 parent 401dfb0 commit 0bb3b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ object OAuthConstants {
* @see ClientRegistration
*/
const val REDIRECT_URL_BASE = "{baseUrl}/{action}/oauth2/code/"
const val GD_USER_GROUPS_SCOPE = "gd_user_groups"
const val GD_USER_GROUPS_SCOPE = "urn.gooddata.scope/user_groups"
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class JitProvisioningAuthenticationSuccessHandler(
const val GIVEN_NAME = "given_name"
const val FAMILY_NAME = "family_name"
const val EMAIL = "email"
const val GD_USER_GROUPS = "gd_user_groups"
const val GD_USER_GROUPS = "urn.gooddata.user_groups"
val mandatoryClaims = setOf(GIVEN_NAME, FAMILY_NAME, EMAIL)
}
}

0 comments on commit 0bb3b42

Please sign in to comment.