Skip to content

SPIKE - review auth/pay integrations for business email #30862

Closed

Description

@mstanton1
  • in preparation for moving business contact email from AUTH to LEAR we need to understand existing integrations in auth
  • ie, what do Auth and Pay do with business email (and/or phone and/or folio number)?

Activity

  1. added
    BTR
    on Sep 25, 2025
  2. mstanton1 commented on Sep 25, 2025

    @mstanton1
    CollaboratorAuthor

    This would be lower risk if the spike / info came from auth team. @JohnamLane would Travis be able to support with this?

  3. seeker25 commented on Sep 25, 2025

    @seeker25
    Contributor

    Business contact is a contact with entity_id populated, it's used in Magic Link

    We'd have to write it up to call into LEAR

    LEAR we'd have to just read from the database table

    Wouldn't be alot of effort on the AUTH side, provided LEAR had a route to get that info

  4. kialj876 commented on Sep 29, 2025

    @kialj876
    Collaborator

    @seeker25 there aren't any jobs in auth/pay or anything that pulls the contact info directly from the db?
    Also if RTR is picking up the work I think we need to know which auth/pay services currently use the contact info (i.e. auth-web) and if there are any 3rd party users that use it so that nothing is missed. Or are you thinking of keeping it in the auth-api response, but it'll get that contact info from lear instead of the db?

  5. seeker25 commented on Oct 1, 2025

    @seeker25
    Contributor

    I'll spent an hour today and hunt them down, it should be a new route under the legal-api ideally to break cross app dependencies

  6. self-assigned this
    on Oct 1, 2025
  7. added
    Pay
    on Oct 1, 2025
  8. seeker25 commented on Oct 1, 2025

    @seeker25
    Contributor

    Not used in PAY:
    Account Contact is used (not contact with entity_id) in create_cfs_accounts
    Admin contacts are used for emailing out (nothing to do with entity_id contact)
    Admin contact used in invoice pdf
    Account contacts used in Summaries
    .
    AUTH:

    Entity Add Contact:
    image.png

    Entity update contact:
    image.png

    Entity Delete contact:
    image.png

    Entity Get Contact:

    image.png

    Service usage:

    image.png

    image.png

    image.png

    image.png

    image.png

    image.png

    Affiliation invitation has some spots too:

    image.png

    image.png

  9. added
    Entities Team
    on Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BTREntities TeamPay

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions