Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
kristofferwiklund CreditAttribution: kristofferwiklund commentedExperience this problem.