Skip to content

Business Dashboard UI: cannot authorize (or not authorize) invitation if it has been cancelled #29801

Closed
1 of 1 issue completed

Description

@severinbeauvais
  1. in one browser, login and try to affiliate another account's business
  2. select option to request auth from another account
  3. in another browser, login to other account and manage the subject business
  4. in the first browser, cancel the auth request
  5. in the second browser -- where you see the auth request -- try to authorize (or not authorize) the request
  6. see errors:

image.png

image.png

A work-around (though perhaps not obvious) is to refresh the page.

Proposed solution: if the authorize (or not authorize) response is 404, show a dialog and either remove/hide the request or prompt the user to refresh their page.

FYI: @sandragornall @JohnamLane @seeker25

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    bug
    Entities Team
    connect
    on Jul 28, 2025
  2. changed the title [-]Auth API: Maximus cannot accept invitation[/-] [+]Auth API: cannot authorize (or not authorize) invitation if it has been cancelled[/+] on Jul 28, 2025
  3. added and removed
    connect
    on Aug 29, 2025
  4. janisrogers commented on Sep 8, 2025

    @janisrogers
    Collaborator

    Can we send something when an invitation is cancelled to indicate it has been cancelled?

  5. seeker25 commented on Sep 8, 2025

    @seeker25
    Contributor

    Why not just handle the 404? change the error?

  6. severinbeauvais commented on Sep 9, 2025

    @severinbeauvais
    CollaboratorAuthor

    On 404, we could say "Affiliation invitation was not found. It may have been canceled."

  7. janisrogers commented on Sep 9, 2025

    @janisrogers
    Collaborator

    I think this message is okay if we don't know for sure why they get the 404. (That's why I was asking if we could send something so that we would know for sure.)

  8. severinbeauvais commented on Sep 9, 2025

    @severinbeauvais
    CollaboratorAuthor

    We could do a lot of things, such as return a detailed message in the 404 to show the user. Or send an email if the invitation is cancelled, as you suggested. What do you think is good bang for the buck at this time?

  9. janisrogers commented on Sep 9, 2025

    @janisrogers
    Collaborator

    Just to be clear, I wasn't suggesting an email. This is my lack of dev knowledge talking.

    I was thinking that when an invitation is sent that it is saved somewhere so that you can show the invitation to the user. I was thinking if an invitation is cancelled, something could be sent to wherever this is saved to indicate that it is no longer active. We could then display a message to the user that this invitation has been cancelled.

    I have no idea if that is possible or if it would take one minute or 3 weeks worth of work.

    If it is super easy to know for sure that the reason we can't find it is because it was cancelled, and by whom, then it is always better to provide a precise error message to the user. "The affiliation invitation is no longer available because it has been cancelled by {xyz account}."

    If, on the other hand, this is not easy, (which I'm guessing is the case) then I think the less precise message "...It may have been cancelled" is fine to display.

  10. 10 remaining items

  11. added
    Pay
    on Feb 24, 2026
  12. severinbeauvais commented on Feb 24, 2026

    @severinbeauvais
    CollaboratorAuthor

    ^^ Thanks, Travis. Yes, that would work fine.

    In addition to the response work, the rest of this ticket is Business Dashboard UI work.

    Should we duplicate this ticket to keep Auth API work separate from the dashboard work?

  13. seeker25 commented on Feb 24, 2026

    @seeker25
    Contributor

    Subtask is fine

  14. severinbeauvais commented on Feb 24, 2026

    @severinbeauvais
    CollaboratorAuthor

    OK, then THIS ticket becomes a Business Dashboard UI ticket.

  15. changed the title [-]Auth API: cannot authorize (or not authorize) invitation if it has been cancelled[/-] [+]Business Dashboard UI: cannot authorize (or not authorize) invitation if it has been cancelled[/+] on Feb 24, 2026
  16. mstanton1 commented on Feb 24, 2026

    @mstanton1
    Collaborator

    Removed John and added to BRD Enhancements and Bugs epic. Thanks for the input @seeker25 @severinbeauvais

  17. severinbeauvais commented on Feb 24, 2026

    @severinbeauvais
    CollaboratorAuthor

    Sounds good.

    Note that this is Business Dashboard not BRD.

  18. mstanton1 commented on Feb 24, 2026

    @mstanton1
    Collaborator

    Thanks for the clarification @severinbeauvais . Corrected the epic.

  19. thorwolpert commented on Jul 27, 2026

    @thorwolpert
    Collaborator

    stale - new issue can be opened if needed

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    PayPriority2bugconnectprod defect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions