...
- Log in to the management console (
https://<HostName>:9443/carbon
) as admin (or tenant admin). - Click the Configure -> Users and Roles menu.
In the User Management page that opens, click Roles.
- Add a role by the name subscriber (or any other name you prefer) and the following permissions:
- Login
- Manage > API > Subscribe
- Go to the Resources -> Browse menu.
Load the
/_system/governance/apimgt/applicationdata/signup-config
resource in the registry browser UI.Do the following changes in the signup configuration and save.
- Set
<EnableSignup>
totrue.
- Set
<RoleName>
tosubscriber
and<IsExternalRole>
totrue
. Note that you must have the subscriber role created at this point. - Set
<AdminUserName>
and password to the tenant admin's username and password.
Code Block language xml <SelfSignUp> <EnableSignup>true</EnableSignup> <!-- user storage to store users --> <SignUpDomain>PRIMARY</SignUpDomain> <!-- Tenant admin information. (for clustered setup credentials for AuthManager) --> <AdminUserName>xxxx</AdminUserName> <AdminPassword>xxxx</AdminPassword> <!-- List of roles for the tenant user --> <SignUpRoles> <SignUpRole> <RoleName>subscriber</RoleName> <IsExternalRole>true</IsExternalRole> </SignUpRole> </SignUpRoles> </SelfSignUp>
- Set
Restart the server and open the API Store (
https: //<HostName>:9443/store
.)- Note the Sign-up link that appears in the top, right-hand corner of the window.
- To disable the self signup capability, navigate to
/_system/governance/apimgt/applicationdata/sign-up-config.xml
in the registry again and set the<SelfSignUp><Enabled>
<SelfSignUp><EnableSignup>
element to false.
Tip |
---|
Tip: To engage your own signup process, see Adding a User Signup Workflow. |
...