WSO2 configuration

Table of Contents 

  1. Create User in Carbon URL
     1.1 Assign Privileges to the Created User
     1.2 Verify the Created User 
  1. Create API in Publisher URL 
  1. Get Token from Devportal URL 

 

  1. Create User in Carbon URL

Login URL: https://<HOST_IP>:9443/carbon/admin/login.jsp
Username: admin@domain.com
Password: ******** (masked for security) 

Note: Replace <HOST_IP> with your WSO2 Carbon server IP address. 

 

1.1 Assign Privileges to the Created User 

  • Navigate to User ManagementRoles. 
  • Assign the required roles such as admin, publisher, or subscriber depending on the use case. 

 

1.2 Verify the Created User 

  • Go to User List in the Carbon console. 
  • Ensure the newly created user appears with the assigned roles. 

 

  1. Create API in Publisher URL
  • Access the Publisher Portal: https://<HOST_IP>:9443/publisher 
  • Log in with your credentials. 
  • Click Create API → Select the appropriate API creation method ( From Scratch, etc.). 
  • Configure API settings: Name, Context, Version, and Endpoints. 
  • Save and publish the API. 
  • API Resources are Added 

 

  1. Get Token from Devportal URL
  • Access Developer Portal: https://<HOST_IP>:9443/devportal 
  • Log in with your subscriber account. 
  • Subscribe to the published API. 
  • Generate a token from Applications → Keys → Generate Access Token. 

 

Recent Posts