Use state API to store auth token.

Created on 23 July 2019, over 5 years ago
Updated 29 March 2024, 8 months ago

Currently the module store the auth token in the config.

This causes unnecessary diffs when exporting/importing config.

The appropriate API to use here is the state api: https://www.drupal.org/docs/8/api/state-api/overview β†’ since the token is site specific and can be regenerated at any time.

API change

Update getToken to use state api.
Update storeToken to use state api.

When exporting the configuration the memsource_token key should not be in the config.

πŸ“Œ Task
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France nod_ Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024