Entity Share OAuth authentication fails intermittently after
deployments or when OAuth tokens expire. When the stored OAuth token
is missing or invalid, Entity Share client connections fail
permanently without attempting to recreate the token, requiring
manual intervention to restore functionality.
Add fallback mechanism to the OAuth plugin in
entity_share_client
that automatically attempts to
recreate OAuth tokens using client credentials when no valid token
exists. This ensures robust Entity Share connections without manual
intervention.
The patch modifies Oauth.php
in the
entity_share_client
module to:
client_credentials
grant type-
None - this is a backend improvement that makes OAuth
authentication more robust.
None - the existing OAuth plugin API remains unchanged.
None - uses existing key-value storage for OAuth tokens.
Needs review
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.