Skip to content

Add UserByEmail query #2

Open
jonpugh wants to merge 1 commit into
masterfrom
feature/user-by-email
Open

Add UserByEmail query #2
jonpugh wants to merge 1 commit into
masterfrom
feature/user-by-email

Conversation

@jonpugh
Copy link
Copy Markdown
Contributor

@jonpugh jonpugh commented Mar 5, 2021

In order to make the user registration feature of the Drupal module implementation of this API package work, we need a way to link existing Lagoon accounts to Drupal users.

Current Workflow

  1. Drupal user registers with email address already in LagoonAPI.
  2. SDK catches the error from LagoonAPI and shows it in the Drupal register form.
  3. User cannot register for the Drupal site with that email address.
  4. Users cannot be linked without manually entering a Lagoon API user ID.

Adding a LagoonAPI Feature

This feature does not exist in the LagoonAPI currently. It has been requested by Lagoon users before.

This PR (of the PHP SDK) could be used to add this feature to Lagoon API SRC, because this repo's composer.json can be altered to include a branch of Lagoon API and can have tests against that.

  • Find and paste links here to those conversations.

These steps can be taken to add a feature to both Lagoon API source and the PHP SDK source at the same time. They should be documented and included in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant