Okta Groups Sync For Confluence Server
Simple Okta Groups Sync plugin to Synchronize automatically or On-demand basis, your OKTA security groups with Confluence groups with options update, force update and append.
This plugin provides:
Service Schedule within Confluence to sync mapped OKTA security groups
Run Sync Console to sync for On-demand basis
Beside Sync App also supports Confluence Groups members Appending
Supports to Sync N Okta Groups to Single Confluence group
REST API to trigger to Sync from CLI
Notes:
Does not support to Sync Confluence default groups
Quick Start Steps
Step-1: Configure Okta Connection
Go to manage-add-ons > Configure
Step-2: Configure Connection details
Step-3: Manage Okta Auto Group Sync
Step-4: Sync Schedule
By default it configured to run every day 2 AM.
Step-5: Debug
Go to Administration > Logging and profiling > Add new entry
Class/Package Name: com.tse.confluence.oktagroupsync.plugin
Level: DebugREST API
Perform Sync
POST http://localhost:8090/rest/oktagroupsync/1.0/run/admin/sync
$ curl -u"admin:secret" -XPOST -H "Content-Type: application/json" --data '{"oktaGroup": \
"scm-engineers","confluenceGroup": "scm-engineers"}' http://localhost:8090/rest/oktagroupsync\
/1.0/run/admin/sync
success
$
POST http://localhost:8090/rest/oktagroupsync/1.0/run/admin/config/id/{configId}
HINTS
Known Confluence product bug:
On Confluence restart, if any custom schedule settings are reverted to default but still schedule runs with default settings.
Workaround, you need to re-save the custom settings. See, https://jira.atlassian.com/browse/CONFSERVER-55455