Hi, With current WSO2 APIStore self signup functionality,we do support only for super tenant APIStore. We are planning to extend it to support for tenant users as well.
With current signup approach, we do two web service calls as; 1) call "UserSelfRegistrationService" to add the user 2) call "UserAdmin" to assign the subscriber role to the user With above approach,for the 2) call,we need to authenticate and thus need to have admin credentials predefined.But in tenant mode,to do above 2) we cannot keep tenant admin credentials predefined in a config file and use. Thus without doing above 2) web service call,we are going to achieve the role assignment from writing a custom user store listener implementation and do the role-assignment as a PreAddUser operation.This way,it'll not required to keep tenant admin/super admin credentials and will only do one web service call for signup. Appreciate your feedback on this. Thanks; -- Lalaji Sureshika WSO2, Inc.; http://wso2.com/ email: [email protected]; blog: http://lalajisureshika.blogspot.com
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
