Getting a token from the WSO2 API manager