Questions tagged [wso2-api-manager]
WSO2 API Manager is a complete solution for designing and publishing APIs, creating and managing a developer community, and for scalably routing API traffic.
3,289
questions
0
votes
0
answers
12
views
WSO2 Integration Studio Script mediator gives 'ContentID is null' error
I'm getting the following error when using a script mediator in WSO2 Integration Studio 8.1.0:
ERROR {ScriptMediator} - {api:BankApi:v1.0} The script engine returned an Exception executing the ...
0
votes
0
answers
14
views
How to access wso2 published api from angular application
I have an angular application that have been working perfectly, but now I have a requirement to put my backend in WSO2 for security purposes.
I have been looking in different repositories and ...
0
votes
0
answers
26
views
elk not working - AnalyticsDataPublisher is not initialized
Since I am in an air gapped environment I don't have access to choreo cloud, so my best option is using the ELK stack.
My ELK stack is only logstash to opensearch.
When I try an API it won't stop ...
0
votes
0
answers
67
views
WSO2 Identity Server 5.11 - Account recovery / set-password API not working as expected
I have an unexpected behavior when I try to reset the first password (password set during registration) using the account recovery REST API (wso2 identity server version 5.11).
It only happens when I ...
0
votes
1
answer
41
views
SSO by Identity Server in WSO2 API Manager
I'm trying to work without login page redirection in API manager when I have logged in session in Identity server. But I had to login with separate login pages for Is, Carbon in APIM, dev portal and ...
0
votes
0
answers
38
views
HOw to onfigure Request payload in WSO2 APIM by Fast API
i am using Fast API endpoint like
@app.post("/get_question_answer/")
async def generate_questions(email: str,request: Request, Usergpt_key: str = None,):
text_data = await ...
1
vote
1
answer
51
views
Dynamically add certificate to truststore in clustered environment
I deployed clustered WSO2 APIM 4.0.0 on openshift using this helm chart:
https://github.com/wso2/kubernetes-apim/tree/master/advanced/am-pattern-4
And now I am checking it's API,
I am trying to add ...
0
votes
1
answer
41
views
Switching WSO2 API Manager Endpoints for Multiple Environments
How to bulk move configured APIs to another environment in WSO2 API Manager Publisher?
I am working with WSO2 API Manager, and my application has multiple environments. In the WSO2 API Manager ...
0
votes
0
answers
35
views
WSO2 APIM 4.2 http gateaway mixed content error
I'm using wso2 apim 4.2 with keycloak key manager to invoke an api through http. I published the api to get published through http and https, for the domain I already inject the ssl on wso2 apim.
I ...
0
votes
0
answers
34
views
Avoid Server Restart After Adding Endpoint Certificate
I deployed clustered WSO2 APIM 4.0.0 and now I am checking it's API.
I am trying to add SSL certificate for the endpoint I am testing, but every time I add a certificate It requires a restart of the ...
0
votes
0
answers
56
views
Wso2 api publisher and devportal throwing error in version 4.2.0
I have installed Wso2 API manager 4.2.0 on one of my development server.
Post installation, I am able to access the carbon management console successfully.
But when I am trying to access the API ...
0
votes
0
answers
35
views
ressource registry in file system [wso2 api manager 4.2.0]
I want to create a custom policy in wso2 api manager 4.2.0, and I use this mediator :
I create a xslt file in ../carbon interface and I use this and it works perfectly.
But me I want to use file ...
0
votes
0
answers
37
views
Upload endpoint certificate does not solve ssl issue
I am testing endpoint and I get "connection error" to the endpoint.
I added a certificate using this wso2 tutorial
but it still not working.
wso2 is deployed using helm chart on openshift.
...
0
votes
0
answers
44
views
Refreshed access token with refresh token, but gateway rejects it as invalid access token
I am using wso2 as API gateway for my application. Authentication and Authorization are working as expected.
But I've encountered an issue where I've successfully refreshed an access token using a ...
-1
votes
0
answers
15
views
XACML Implementation & SAML Bearer Grant
I have implemented SAML bearer grant by using wso2 Identity server 6.1 version and API Manager 4.2 version where i successfully get the access token after passing a valid SAML Assertion. I have a ...
1
vote
1
answer
53
views
How to add a custom sequence or doing chain before APIs in WSO2 Publisher
I am using WSO2 Publisher and need to add a custom sequence that runs before specific APIs. The goal is to handle some pre-processing logic like adding a user ID from WSO2 IS response from this ...
0
votes
0
answers
20
views
Error in deploying wso2am on openshift: zip END header not found
I am deploying wso2am on openshift using helm chart on an air gapped environment and I am getting the following error during the cp pod initialization.
Link to chart: https://github.com/wso2/...
0
votes
0
answers
106
views
HOw to resolve Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be "http" or "https" for CORS request. WSO2APIm
I got the error while hit API from WSO2 APIM dev and Publisher as admin access.
Failed to fetch.
Possible Reasons:
CORS
Network Failure
URL scheme must be "http" or "https" for ...
1
vote
1
answer
40
views
How to Chain Multiple API Calls in Integration Studio with WSO2 Synapse?
ISSUE Description:
I'm working on a project in Integration Studio that involves making a series of HTTP API calls, where each subsequent call depends on the response of the previous one. I'm using ...
1
vote
1
answer
34
views
WSO2 APIM context and version on url path
I'm working with WSO2 APIM 4.2 and the URL gateaway path looked like this.
Https://ourdomain.com:8243/context/version/resource
Can I position the url to /version/context/resource or eliminate the ...
1
vote
1
answer
30
views
new instance of wso2 api manager 3.2.0 connect to existing oracle database
I had two working node of wso2 api manager 3.2.0 version(load balanced ).I forced to delete one node and reinstall it, now my issue is the new instance doesn't read existing data from oracle database(...
0
votes
0
answers
38
views
how can I create soap proxy from a rest backend in wso2 api manager 4.1.0
My reference/endpoint service is rest and I want a soap proxy and my soap proxy must also have a WSDL file.
How can I do it in WSO2 API manager 4.1.0 ?
0
votes
0
answers
28
views
SAML Bearer Grant fetching roles from SAML response
I'm using Identity Server (6.1 version) and API Manager (4.2 version). I'm performing SAML Bearer Grant for my Spring Boot(3.1 version) Application, and I'm able to get the access token successfully ...
0
votes
0
answers
25
views
WSO2IS as key manager in WSO2apim error configuration
When I try to import well-known URL, the system return The server encountered an internal error. Please contact administrator.
The link of my well-known URL is:
https://localhost:9444/oauth2/...
0
votes
0
answers
33
views
Second instance of active-active never received JMS event
I have setup an active-active environment of WSO2 APIM 4.2.0 following the documentation found here: https://apim.docs.wso2.com/en/latest/install-and-setup/setup/single-node/configuring-an-active-...
0
votes
1
answer
51
views
WSO2 - Identity Server / API Manager - Configuring Identity Server as External IDP using OIDC
I a trying to apply the tutorial under WSO2 documentation link: https://apim.docs.wso2.com/en/latest/install-and-setup/setup/sso/configuring-identity-server-as-external-idp-using-oidc/
In one of the ...
0
votes
0
answers
37
views
WSO2 - API Manager linked to identity server
Based on the documentation, we have two ways to link API Manager with identity server:
Using service provider (as federated)
during installation by linking both users db together on deployment.toml ...
0
votes
1
answer
31
views
How to add token authorization to a API request using WSO2 APIM
I have API request which looks something like this:
curl --location 'http://199.3x.xx.3x:4041/country/usa' \
--header 'Content-Type: application/json' \
--header 'language: english' \
--header '...
0
votes
0
answers
40
views
How to switch to https from http in wso2 api microgateway when http2 protocol is getting used when talking to upstream backend services
We have observed that when wso2 api microgateway uses http2 then it uses http scheme to connect to backend service.
scheme: http
is also adedd in the headers.
This is happening even when we are ...
0
votes
1
answer
105
views
WSO2 API Manager ELK Analytics - API without security generate metrics Error
I wanted to see if my api could be tracked when I'm turning off security in the resource section. But I found this error and the api log cannot be tracked in elk. It won't generate any log in ...
0
votes
1
answer
72
views
WSO2 - using identity server 6.1.0 as federated identity server of api manager 4.2.0
I am working on this documentation tutorial:
https://apim.docs.wso2.com/en/latest/install-and-setup/setup/sso/configuring-identity-server-as-external-idp-using-oidc/
This is to be able to login using ...
0
votes
1
answer
55
views
WSO2 - API Manager - apictl export an API and import it in another WSO2 API Manager instance
For deployment purposes, i would like to export an API will all its API Manager settings and import it in another API Manager instance. I wanted to use apictl based on the documentation, i exported a ...
0
votes
0
answers
23
views
WSO2 and Keycloak Scope Management
I aim to integrate API authentication in WSO2 with Keycloak. I've diligently followed the steps outlined in the documentation here: WSO2 Keycloak Connector Configuration.
Following these steps, I ...
1
vote
1
answer
76
views
WSO2 - API Manager - What is the difference between API version and API revision
I am reading the wso2 API manager's latest version 4.2.0. We have API version: https://apim.docs.wso2.com/en/latest/design/api-versioning/create-a-new-api-version/#! and API revision: https://apim....
0
votes
0
answers
89
views
WSO2 - API Manager - Certificate issue
Whenever we modify the filename in keystore.tls tag or we use the same keystore but different alias, both signin page of devportal and publisher are not opening and we are getting the below error in ...
0
votes
1
answer
51
views
WSO2 Apim 4.1.0 Message Mediator not found in Runtime Api Configuratios
I'm really strugling with this one.
I have a distributed WSO2 api manager, no subscription, open source, version, where I need to enable one api to have a header passtru to the backend, so, I went to ...
-1
votes
1
answer
49
views
issue while WSO2 EI reading JWT response
I used wso2 EI7.0.0 micro-integrator I try to call end point that sends to me JWT message but I got this error when read JWT response
Error while building message. Error while building Passthrough ...
0
votes
1
answer
67
views
WSO2 Disable HTTPS and SSL
I want to access to wso2 api manager with http://myIP:9763/publisher but it's redirected to https://myIP:9443/publisher.
I have done this:
Go to the $WSO2_HOME/repository/conf and open carbon.xml, and ...
0
votes
0
answers
60
views
How to automatically add claims to application's service provider
I have installed an APIM platform (4.1) with Identity Server (5.11) as key manager. When I create an new application in devportal, it generates a service provider in identity server.
How can I ...
0
votes
1
answer
113
views
WSO2 API Subscription Validation Failed with WSO2 IS as KM
I have integrated the wso2is-6.1.0 as the key manager for wso2am-4.2.0 and I have deployed the PizzaShack API and subscribed it to the PizzaApp created in the devportal.
I have generated the client ...
0
votes
0
answers
45
views
Getting "Unexpected Error" while trying to Sign up in WSO2 API Manager Devportal
I am trying to signup in WSO2 API Manager but it is giving me "Unexpected Error" and in logs i was able to figure out the below logs,
"IdentityManagementEndpointUtil Exception while ...
1
vote
1
answer
72
views
WSO2 API Manager - SSL-cert for host name in conflict with localhost calls
There is a previous, unanswered and now deleted/hidden, post which pretty much sums up my own case
https://stackoverflow.com/questions/73925061/wso2-am-ssl-cert-issued-for-host-name-in-conflict-with-...
0
votes
0
answers
20
views
Gateway artifact generator wso2 apim class not found
I've recently started working with WSO2 APIM and am having trouble with the Gateway Artifact Generator. It seems to be throwing a Class Not Found error. Is this a known issue or am I missing a ...
1
vote
1
answer
80
views
WSO2 Identity Server as Key Manager - Is the WSO2 API Manager 4.1.0 compatible with the WSO2 Identity Server 6.1.0?
I'm trying to setup WSO2 Identity Server 6.1.0 as the Key Manager for WSO2 API Manager 4.1.0.
Is the WSO2 API Manager 4.1.0 compatible with the WSO2 Identity Server 6.1.0?
Thanks in advance.
0
votes
0
answers
27
views
wso2 project loading time after UI changes
org.wso2.carbon.ui_4.8.1.jar
org.wso2.am.styles_4.2.0.jar
based on documentation the file is extracted and again converted to jar file.
JAVA_HOME environment variable is set to /usr/lib/jvm/java-11-...
0
votes
0
answers
24
views
i have issue in micro integrator
iam trying to running micro integrator standalone in cmd
this issue is appear
Unable to get Charset 'cp65001' for property 'sun.stdout.encoding', using default UTF-8 and continuing.
Unable to get ...
0
votes
0
answers
57
views
Azure API manager Try it works on deprecated portal but get "Unable to complete the request" from new portal
We have migrated products to the new API Manager portal and all seems to be ok apart from some endpoints. E.g. on an end point to get an auth token when using Try it from the old portal it gets a 200 ...
0
votes
0
answers
31
views
WSO2 APIM 4.2 - Circuit Breakers: not able to edit the API definition in the Publisher
I am trying to implement Circuit Breaker and i am trying to do so according to this documentation: https://apim.docs.wso2.com/en/latest/deploy-and-publish/deploy-on-gateway/choreo-connect/endpoints/...
1
vote
1
answer
62
views
WSO2 APIM 4.2 - Suspend endpoint and fail over to secondary server if 404 is received from backend
In WSO2 APIM 4.2 (open source version) we have setup a load balancer/fail over where we have a redundant back-end setup. In this example we are having an API deployed on 2 servers. If both servers are ...
0
votes
1
answer
38
views
how to limit access to api per user in wso2 api manager 4.1.0 with basic authentication
I'm using from wso2 api manager 4.1.0 and I have basic authentication on my api. I want to give access specific api to specific user.
Could you please tell me what I should do?