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.
Motivation:
User-agent OAuth creates some unwelcome constraints, especially when managing a multi-environment workflow.
Proposed Solution:
Add support for JWT OAuth, which provides stateless server-to-server authentication, eliminating the need for interactive authentication and providing truly portable authentication configuration.
Comment | File | Size | Author |
---|---|---|---|
#4 | salesforce-auth_refactor-3013414-4.patch | 43.9 KB | AaronBauman |
#2 | salesforce-auth_refactor-3013414-2.patch | 161.61 KB | AaronBauman |
Comments
Comment #2
AaronBaumanThis is a massive patch, and it's going to fail tests, but I want to get the ball rolling on discussion.
The d.o patch system is not very accommodating to this review, but I'm posting it here anyway.
The patch is on the branch "auth_refactor", and it may be easier to provide feedback on this pull request in github: https://github.com/messageagency/sfd8/pull/1
I've provided a better description there.
Comment #4
AaronBaumanOK, I'm gonna break this into smaller chunks, so the patches are more manageable.
This patch is on a new branch, auth_refactor_phase1
Should pass existing tests too.
Comment #5
AaronBaumanComment #6
AaronBaumanMoving this work to github.
Will be posting PRs according to this plan:
https://github.com/messageagency/sfd8/pull/2#issuecomment-439546617
Comment #7
AaronBaumanComment #8
AaronBaumansalesforce_oauth and salesforce_jwt have been committed to 4.x branch