Problem/Motivation

When you revert an Oauthconnector feature, the API key and secret are removed and the callback URL is changed. Also, when an API key and secret are added/changed from the Features value, the Feature is marked overridden.

Since you may not want to save your API key and secret in code but may want to save the other parts of the configuration, this isn't ideal.

Also, since you may need to register the callback URL with the Oauth provider, it's problematic to have this changed on revert.

Proposed resolution

Update how the Oauthconnector configuration is exported and reverted.

Comments

kristofferwiklund’s picture

Experience this problem.