I am trying to use the “Account Link Extension” but my Application has the Organization settings set to “Business Users”. When I try to login using google with an account that already has “Username-Password-Authentication” I get thrown back to my application with the error “client requires organization membership, but user does not belong to any organization”. If I change the Organization settings to Both Individuals and Businesses, the “Account Link Extension” works as expected.
I tried setting up a Login Action using “onExecutePostLogin” which executes when Individuals and Businesses are turned on. But when I switch to Businesses only, it does not execute.
The user not belonging to an organization fires before the onExecutePostLogin executes.
Has anyone else encountered this problem? Are there any solutions?