Atlassian OAuth Service Provider Plugin is Disabled After Upgrade
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Symptoms
After upgrading Confluence to version 5.4.x, the Atlassian OAuth Service Provider Plugin is disabled and 'grayed' out (no enable button).
The following can be seen in the atlassian-confluence.log
when starting Confluence:
1
2014-07-28 16:22:23,640 WARN [main] [atlassian.plugin.manager.DefaultPluginManager] addPlugins System Plugin 'com.atlassian.oauth.serviceprovider' is disabled.
Diagnosis
You might be encountering CONFSERVER-32397 - OAuth Plugin cannot be enabled on startup
Generate a Confluence Support Zip and check the
application.xml file
to see ifcom.atlassian.oauth.serviceprovider.sal
is ENABLEDHow to clear the apps (plugins) cache in Confluence Data Center
Ensure there's no custom OAuth plugin blocking the Atlassian OAuth plugin
Cause
The UPM (Universal Plugin Manager) is not updated to the latest compatible version and com.atlassian.oauth.serviceprovider
is disabled in BANDANA's plugin.manager.state.Map.
Solution
Resolution
Upgrade the UPM to the latest version
Backup your database.
Run the following query:
1
select * from BANDANA where BANDANAKEY='plugin.manager.state.Map';
Update the BANDANAKEY to remove
com.atlassian.oauth.serviceprovider
fromplugin.manager.state.Map.
Removing Malfunctioning Add-onswill guide you through this process
Restart Confluence
Was this helpful?