wso2

Cross domain problems with WSO2 API Manager

瘦欲@ 提交于 2019-12-22 07:05:56
问题 We have develop some APIs for a client and we have published them through API Manager. We have provided the client with some code examples on PHP which work fine. The only problem is that they are using those APIs through AJAX in a different domain to the one associated with AM. Is this a cross domain problem? I have tried setting the apache server in front of API Manager with the following headers, so that cross domain is allowed Access-Control-Allow-Credentials: true Access-Control-Allow

How to destroy authentication session in WSO2 Identity Server?

为君一笑 提交于 2019-12-22 00:40:56
问题 I'm using WSO2 Identity Server with OpenId Connect protocol for authentication. When a user log in, a session is created to remember the user next time. I would like to know the possible ways to destroy this session. When Authentication Session persistence is not used : if i understood well, in this case the session is kept using the "commonAuthId" cookie. This cookie will be destroyed when the web browser is closed. Is there any other way to "log out" without closing the web browser ? A log

Create/Edit users with group or role in WSO2 IS

。_饼干妹妹 提交于 2019-12-22 00:25:55
问题 Is there any SCIM endpoints to add users with the groups? I already gone through the article, But i couldn't able to add user with group. Also i need to edit that user and update the group, Is there any SCIM endpoints for these two tasks ? I tried with the following cURL command curl -v -k --user admin:admin --data "{"schemas":[],"name":{"familyName":"gunasinghe","givenName":"hasinitg"},"userName":"hasinitg","password":"hasinitg","groups":[{"value":"a0612e1e-d8c7-47dd-b9ee-4218291945c8",

In wso2 API monetization why subscriber will fill details regarding plan

时光总嘲笑我的痴心妄想 提交于 2019-12-21 20:57:26
问题 In wso2 API manager why subscriber will fill details reagarding plan. As mentioned in the documntation, the user will login and fill the plan for consumption but why he'll decide the billing plan for the consumption. 回答1: Looks like a mistake in the docs. As per the screenshot, it's the admin user who's logging in at step 7, but not the newly created user. 来源: https://stackoverflow.com/questions/53121231/in-wso2-api-monetization-why-subscriber-will-fill-details-regarding-plan

WSO2 API Manager Gateway clustering. How to setup gateway endpoint in api-manager.xml

社会主义新天地 提交于 2019-12-21 20:54:09
问题 I have a plan to use WSO2 API manager for my company, so trying to make it work clustering. it consists of Keymanager, Gateway(manager, worker), Publisher, Store on 2 AWS instances. Host1 contains Keymanager, Gateway manager, Publisher, Store. Host2 contains Gateway worker. the point that I'm confusing is how to configure correct setting for in the /repository/conf/api-manager.xml file. Case 1) set gateway.manager.com in GatewayEndpoint <APIGateway> . . . <ServerURL>https://gateway.manager

WSO2 API Manager - can it convert REST requests to SOAP requests on the backend?

醉酒当歌 提交于 2019-12-21 16:22:17
问题 I'm exploring the use of the WSO2 API Manager for our legacy API, which is currently SOAP based. IDeally, I'd like to expose a RESTful interface to our customers and have API Manager convert that to a SOAP request that gets passed to our legacy system. Searching the WSO2 site, I see there's some way to do this using XSLT transformations, but only when using the WSo2 ESB product. Is there a way to handle this transformation in the API Manager? How? If not, could I somehow take advantage of the

WSO2 Governance Not Finding All Assets in JDBC Database

耗尽温柔 提交于 2019-12-21 06:39:19
问题 I'm new to WSO2 and working on an existing application that uses WSO2. We load our database of assets into wso2 but not all of the assets show up in the store or publisher when queried. It seems there is some disconnect between what is in the database/carbon and what can be seen in store/publisher. the missing assets can be found by: Calling the database directly looking them up in carbon using the store or publisher url with the asset id the governance rest api through id only the assets are

WSO2 Identity server 5.0 - Pre configured Service provider

☆樱花仙子☆ 提交于 2019-12-21 06:01:49
问题 We would like to ship wso2 IS with our product.Instead of adding service providers manually through console, we want to pre-configure with some default identity providers and Service providers. I was expecting some xml files by which I can configure these. But seems like there is no such file and previous versions of IS has SCIM rest points to add SP configurations, I don't see them with IS 5.0. Any idea on how to go about this? 回答1: There is file that you can configure the service providers.

wso2 am gateway forwarding of multipart/form-data post requests

霸气de小男生 提交于 2019-12-21 05:32:15
问题 I am using a demo API which receives a file and note as multipart/form-data input and displays the content of the file and the note. Here is a sample HTML which runs the API correctly: <html> <body> <FORM action="http://cgi-lib.berkeley.edu/ex/fup.cgi" method="post"> <P>Choose file: <INPUT type="file" name="upfile"> <p>Note: <INPUT type="text" name="note"> <p><INPUT type="submit" value="Send"> </FORM> </body> </html> Now I'm trying to created a managed API in the WSO2 APIM publisher. Below

wso2 API Manager | How to associate a client-certificate to backend / target endpoint

ぃ、小莉子 提交于 2019-12-20 07:14:19
问题 we have a backend of api which needs client-certificate to be presented when accessing api. we have added the client certificate to repository/resources/security/client-truststore.jks and along with all Root CA and Intermediate Certs. Restarted server. I believe Wso2 is now able to send call to backend API and returns with Status code 403. it is returning with 403 because the backend api did not receive the client certificate with request... { "timestamp": "2017-03-14T21:33:36.523Z", "status"