Anonymous users are able to create their own user accounts in WSO2 App Manager using the self-registration feature provided with the App Store.
Signing up as a super tenant
Follow the steps below to sign up as a super tenant user in the App Store.
- Go to the App Store (
https://<HostName>:9443/store) and click Register in the top right hand corner of the menu bar.
- The user registration form appears. Add a valid username and password and click Register to create the user account.
The user account is created successfully.
The user is assigned to the default subscriber role, which has login permissions and the ability to subscribe to available applications. This particular subscriber role is configurable per tenant store.
Signing up in a multi-tenant environment
When registering a user account in a multi-tenanted environment, the registration form is slightly different from the form you get in the super tenant mode.
In this scenario, the tenant domain is appended to the username you enter. Thus, be careful not to enter the username with the tenant domain since the correct domain is automatically appended internally. For example, if you register a user as
wso2User in the
wso2.com tenant domain, then you need to use the username as
wso2User@wso2.com at store login.
You can also plug an external BPEL workflow to the user sign-up process. For further information, see Extending User Signup Workflow.
Enabling or disabling self-signup
WSO2 App Manager facilitates disabling or enabling user self sign-up in the App Store. It is also possible to configure the signup roles that have been assigned to registered users.
In a multi-tenanted App Manager setup, self sign-up to the App Store is enabled by default to all tenants. The tenant admin of a particular tenant domain can follow the steps below to enable/disable user sign-up or configure sign-up properties.
- Log in to the Management Console (
https://<HostName>:9443/carbon) as admin (or tenant admin).
- In the Resources menu, click Browse.
- Open the
/_system/governance/apimgt/applicationdata/sign-up-configresource in the registry browser.
The sign-up configuration of the tenant currently logged in appears.
To disable self sign-up, set the
<enablesignup>property to false. Once self sign-up is disabled in a particular tenant domain, the self registration option is removed from the store menu.
<signupdomain>configuration determines the user storage where the users should be persisted (primary or secondary user store).
Provide the credentials of the admin user of the given tenant domain in the
<adminpassword>properties. If you are the super admin, provide admin/admin by default. If you are in a multi-tenant setup and you are not the super admin, give the tenant admin's username and password here.
- The users who have been registered via self-signup should be assigned a self signup role. You can configure the role/roles which should be assigned to registered users using the
<signuproles>property. By default, the subscriber role is configured as the user-signup role.