Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Conversation

@bdemers
Copy link
Contributor

@bdemers bdemers commented Jun 12, 2017

If the property 'okta.application.groupId' is set, newly created accounts will be added to that group.
Otherwise the new account will be associated directly with the application.

oktaAppConfigMap.put("userApiQueryTemplate", apiSecretQueryTemplate);
oktaAppConfigMap.put("applicationId", oktaApplicationId);
oktaAppConfigMap.put("passwordPolicyName", oktaPasswordPolicyName);
oktaAppConfigMap.put("oktaApplicationGroupId", oktaApplicationGroupId);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't all these use: OktaApplication., like OktaApplication.APPLICATION_GROUP_ID

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, there is no dependency on impl, just a runtime dep

String groupId = getStringProperty(OktaApplication.APPLICATION_GROUP_ID);
if (Strings.hasText(groupId)) {
associateUserWithGroup(account, groupId);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit - move else to previous line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

them is fighting words

@dogeared
Copy link
Member

Minor nits. Feel free to update or not

@bdemers bdemers force-pushed the new-user-groupId branch from adacebe to 1189d30 Compare June 13, 2017 19:27
If the property 'okta.application.groupId' is set, newly created accounts will be added to that group.
Otherwise the new account will be associated directly with the application.
@bdemers bdemers merged commit 6e85cb0 into okta Jun 14, 2017
@bdemers bdemers deleted the new-user-groupId branch June 14, 2017 15:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants