Users with a organization account need to be able to authenticate with the organization. Possible ways to fix are to have the user check a box if they're logging into an organization and if so, prompt them for the name of the organization. Then, all that needs to be done is add an additional check to the authenticate function.

CommentFileSizeAuthor
#2 2902416-2.patch1.22 KBolivier.br

Comments

blakemorgan created an issue. See original summary.

olivier.br’s picture

StatusFileSize
new1.22 KB

Here is a patch to add authentication as an organization.

I didn't add a checkbox.
If the first request return an organization id, a new request to authenticate as an organization is added with a call to this endpoint :

/psapi/v3/mem/organization/{organization_id}/authenticate

olivier.br’s picture

Status: Active » Needs review

  • olivier.br committed ceccf76 on 8.x-1.x
    Issue #2902416 by olivier.br: Add second identification step for...
olivier.br’s picture

Status: Needs review » Fixed
olivier.br’s picture

Status: Fixed » Closed (fixed)