
oe85g (oe85g) asked a question.
Our customer is having above issue, and we found out below workaround which not feasible for us since we still need to use OKTA for users' login:
Anyone have idea to fix this? The connector used is v3.0.6 and Confluence version 6.11.2, trying to install latest version of Confluence Cloud Migration Assistant.

My name is Dan, I am an Okta Support Engineer.
The latest version for the Okta Confluence Authenticator is 3.1.2. You can try upgrading it to this version and see if the duplicate package warning still occurs.
More information on the version history:
https://help.okta.com/en/prev/Content/Topics/Settings/Version_Histories/Ver_History_Confluence_Authenticator_Toolkit.htm
Otherwise, as stated in the Confluence guide, you can temporary remove the integration and check if the Cloud Migration plugin re-enables. You could try that during your off-hours so that your end-users don't get affected.
Hi Dan,
Thanks a lot for your reply!
I managed to get the v3.1.2 connector and replaced the v3.0.6 with this version in Confluence lib directory. However, after restarting Confluence, I received below error:
2020-06-03 14:34:37,215 ERROR [localhost-startStop-1] [atlassian.seraph.config.SecurityConfigImpl] configureClass Unable to load authenticator class 'com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator': com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator
java.lang.ClassNotFoundException: com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1138)
at com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:104)
at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:322)
at com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:260)
at com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:196)
at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:56)
at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21)
at com.atlassian.seraph.service.rememberme.DefaultRememberMeConfiguration.<init>(DefaultRememberMeConfiguration.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
.
.
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.seraph.service.rememberme.DefaultRememberMeConfiguration]: Constructor threw exception; nested exception is java.lang.RuntimeException: Could not load security config 'seraph-config.xml': Unable to load authenticator class 'com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator': com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator : java.lang.ClassNotFoundException: com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
... 158 more
Caused by: java.lang.RuntimeException: Could not load security config 'seraph-config.xml': Unable to load authenticator class 'com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator': com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator : java.lang.ClassNotFoundException: com.atlassian.confluence.authenticator.okta.OktaConfluenceAuthenticator
at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:60)
at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21)
at com.atlassian.seraph.service.rememberme.DefaultRememberMeConfiguration.<init>(DefaultRememberMeConfiguration.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 160 more
Why is that? How can I fix this? After I revert back to v3.0.6, the error gone. But still, my issue to enable the migration assistant not yet fixed.
Thanks in advance!