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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaronbauman created an issue. See original summary.

AaronBauman’s picture

Status: Active » Needs review
FileSize
161.61 KB

This 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.

Status: Needs review » Needs work

The last submitted patch, 2: salesforce-auth_refactor-3013414-2.patch, failed testing. View results

AaronBauman’s picture

Status: Needs work » Needs review
FileSize
43.9 KB

OK, 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.

AaronBauman’s picture

Title: Add support for JWT authentication » Refactor OAuth to allow pluggable authentication
AaronBauman’s picture

Title: Refactor OAuth to allow pluggable authentication » [meta] Refactor OAuth to allow pluggable authentication
Category: Task » Plan
Status: Needs review » Active

Moving this work to github.
Will be posting PRs according to this plan:
https://github.com/messageagency/sfd8/pull/2#issuecomment-439546617

AaronBauman’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
AaronBauman’s picture

Status: Active » Fixed

salesforce_oauth and salesforce_jwt have been committed to 4.x branch

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.