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.
Currently, the live access token and token expiration data are stored in the module's config. This can be overwritten on config export, which is bad since this data is volatile and changes each month. Instead, it should be stored in Drupal's key/value state storage.
Comment | File | Size | Author |
---|---|---|---|
#4 | do_not_use_config_for-2919829-4.patch | 20.32 KB | mglaman |
#2 | do_not_use_config_for-2919829-2.patch | 12.05 KB | mglaman |
Comments
Comment #2
mglamanInitial patch. However, some kind of service is needed to get application information from config and state. Otherwise, we'll get bugs later on.
Comment #4
mglamanAdds Connect service to act as the application config.
Comment #6
mglamanFixed.