All Questions
Tagged with wso2carbon or wso2
12,462 questions
0
votes
0
answers
42
views
Wildfly 37 + OIDC against WSO2 (aka: not Keycloak)
I am trying to configure a Wildfly 37 standalone instance to authenticate a webapp users against a WSO2 using the elytron-oidc-client subsystem. I managed to make it work, but I had to modify some ...
0
votes
0
answers
16
views
Two *.car files created in the temp dir while running one project
I’m encountering an issue while running a project in WSO2 MI (Micro-Integrator) inside VS Code. Under the directory .wso2-mi\micro-integrator\wso2mi-4.4.0\temp, I see two generated folders, one of ...
0
votes
0
answers
54
views
java.lang.ClassNotFoundException: class org.apache.activemq.jndi.ActiveMQInitialContextFactory not found at run time
WSO2 EI 6.6.0 is configured and run together with ActiveMq 5.16.4. Sending and receiving JMS messages works fine but time to time following error occurs at run time. To solve it, it is necessary to ...
Advice
0
votes
3
replies
91
views
Unable to assign custom roles to users after upgrading WSO2 IS from 7.1.0 to 7.2.0
We are currently upgrading our IAM solution from WSO2 Identity Server 7.1.0 to 7.2.0, and we are facing an issue related to role assignments after the upgrade.
When performing a Helm upgrade of our ...
1
vote
1
answer
42
views
WSO2 Integration Studio: An error occurred while creating the carbon archive file
I have a WSO2 multi-module Maven project with ESB config, exporter, and mediator projects. When I run my project in WSO2 Integration Studio and select the mediator project to include in the CAR file, ...
0
votes
0
answers
48
views
WSO2 API Manager BindException: Address already in use Despite Port Change and Free netstat
On a Windows 11 computer, I'm trying to launch WSO2 API Manager (APIM) version 4.6.0 (C:\wso2am-4.6.0\wso2am-4.6.0\bin).
The server starts up and initializes throttling policies, but it consistently ...
-1
votes
1
answer
55
views
User Onboarding options missing in console
Not able to enable the Self Registration through the Management Console because the User Onboarding options in Login & Registration do not show in WSO2 Identity Server version 7.2.0.
It's only ...
0
votes
0
answers
55
views
WSO2 MI Docker image built via VS Code extension fails at startup: WSO2 Carbon initialization Failed Invalid UTF-8 start byte 0x93
Symptom
When I build a MI Docker image using the WSO2 VS Code extension (Project Overview → Build Docker Image), the container fails on startup with this error:
2025-10-24 09:25:58.643 | [2025-10-24 ...
0
votes
0
answers
50
views
WSO2 API Manager 4.5.0 – Out Flow mediation sequence not triggered when Response Caching is enabled
Everything works fine, caching is active and responses are served from cache.
However, when the response is served from cache (cache hit), the Out Flow (response flow) doesn’t execute at all — meaning ...
0
votes
0
answers
56
views
WSO2 APIM 4.4.0 Operation Policy Issue
I ran into a problem: Custom operation policies created in Publisher don't sync to Gateway in distributed Docker setup(same issue k8s), causing "Sequence not found" errors. (it was and in ...
0
votes
0
answers
65
views
wso2 api manger rate limiting does not work
Environment
WSO2 API Manager 4.3.0 (single-node, running in Docker)
WSO2 Identity Server 6.1 (used as Key Manager)
Docker compose; containers run in host network_mode
Databases on external MSSQL (...
0
votes
1
answer
93
views
WSO2 Micro Integrator “Failed to create InitialContext using factory specified in hash table” for LDAP Operation
I am trying to connect my APi developed by wso2 MI VsCode to an OpenLDAP server running on Ubuntu WSL. I’m using the WSO2 LDAP connector (V2) to perform LDAP operations (search, authentecates), but ...
2
votes
1
answer
449
views
How can I include the user email claim in JWT tokens in WSO2 API Manager without manually editing each Service Provider?
I’m using WSO2 API Manager 4.4.0 as a proxy to my backend.
My backend requires the user email to be included as a claim inside the JWT token.
I already enabled JWT generation in deployment.toml with:
[...
0
votes
1
answer
39
views
WSO2 MI 4.4.0 - Unable to push data to AWS SQS Queue using AWS SQS connector via proxy server
I am trying to push incoming data to AWS SQS in WSO2 MI 4.4.0 using AWS SQS connector v3.0.1.
Integration: WSO2 MI 4.4.0
Developer Tool: WSO2 MI for VS Code extension
OS: Ubuntu 22.04
Proxy server: ...
0
votes
1
answer
80
views
Consuming message from weblogic jms queue in wso2 mi
has anyone successfully consumed message from weblogic queue. I am getting below error
[2025-09-28 01:16:48,983] ERROR {BaseUtils} - JNDI lookup of name jmstest returned a weblogic.jms.client....
0
votes
1
answer
58
views
WSO2 API Manager - pass basic auth username as parameter to the endpoint
A simple setup - WSO2 API Manager (v4.4.x) handling client requests and sending them to a backend endpoint. The WSO2 API Manager is configured to support Basic Auth for the endpoint (Basic auth user ...
0
votes
1
answer
67
views
WSO2 Revoke IS token for sub-organization
Scenario: User logs into our system with his IS Username and password (Super). He then selects the sub-organization he wishes to work with, and we do an organization switch to get a token for the sub-...
0
votes
1
answer
36
views
WSO2 fails to start on Windows with "Could not resolve module" error
I'm trying to run WSO2 Identity Server (or any WSO2 Carbon product) on Windows 11, but I'm getting an OSGi bundle resolution error immediately when starting the server.
ERROR : FrameworkEvent ERROR
[...
0
votes
0
answers
81
views
Empty Custom Attributes to show in the Consent Page
If i have deployed my own application on a server and i have an OIDC application inside my WSO2 IS version 7.1.0.22 i am not able to find the consent management part where i can change the custom ...
0
votes
1
answer
128
views
wso2 APIM introspect key validation with Keycloak always returns error 900901 invalid credentials
Introspect always returns "900901 invalid credential", please check below error trace and configuration screenshot
APIM admin key manager Configuration
Also please note that it is working ...
0
votes
0
answers
57
views
WSO2 Micro integrator(MI) - Sentry implementation
I'm trying to get Sentry to work with WSO2 Micro Integrator 4.4.0, but it seems to be an incredibly difficult task. Has anyone here managed to get it running?
If you have, I would be very grateful if ...
1
vote
1
answer
43
views
getting /bin/bash: /home/wso2carbon/docker-entrypoint.sh: Permission denied while deploying APIM 4.5 in docker
I was trying to deploy APIM 4.5 in docker but getting "/bin/bash: /home/wso2carbon/docker-entrypoint.sh: Permission denied" error.
I have deployed the APIM 4.2 before which is working as ...
2
votes
2
answers
123
views
WSO2 APIM 4.5.0: updating swagger definitions fails with 500 error
In WSO2 API Manager 4.5.0, I register about 80 APIs during deployment process (either creating new ones or updating existing ones). From time to time, updating the Swagger definition of an existing ...
0
votes
1
answer
100
views
How to forward the original multipart/form-data in WSO2 MI after an endopint call?
I am using WSO2 Micro Integrator (WSO2 MI) to make a file upload request to a backend.
I sendr a multipart/form-data POST request with a file and some fields, like this:
--header 'token: token' \ --...
0
votes
0
answers
38
views
How to mapping preferred_username of JWT to userId of Siddhi query
I'm using Keycloak as Key Manager for WSO2 Api Manager, and they work as excepted. Now, I've got a use case to verify each user's bucket, so I want to add a Custom Policy which can use Siddhi Query to ...
1
vote
0
answers
110
views
How can I initialize the module before the call of the function?
I try using the Ballerina module in wso2mi but i have the following error
[2025-07-29 16:07:19,538] ERROR {io.ballerina.stdlib.mi.Mediator} - {api:BallerinLinuxAPI} function 'helloWorld' is called ...
2
votes
1
answer
161
views
WSO2 APIM 4.5.0 missing CORS headers in actual response – Content-Disposition not exposed
I have a web application that downloads a file by calling a REST API endpoint. This endpoint is behind WSO2 API Manager (WSO2 APIM).
After upgrading from WSO2 APIM 4.2.0 to 4.5.0, the CORS behavior ...
1
vote
1
answer
92
views
WSO2 Google Identity federation
I am using wso2 identiy server 5.7.0
I Configured Google Federation by adding clientid and client secret in WSO2IDP also created service provider and deployed pickupdispatch.war as exmample.
After ...
1
vote
1
answer
69
views
How to import local packages from another directory?
My working directory structure as follows.
And here is my main.bal file:
import uploadToCloudinary as gpurl;
import ballerina/http;
import ballerina/io;
configurable int port = ?;
service / on new ...
1
vote
1
answer
54
views
undefined symbol 'request' error in Ballerina when trying to handle http file upload
import ballerina/http;
import ballerina/io;
// import utils/pdfUpload;
configurable int port = ?;
service / on new http:Listener(port) {
resource function get .() returns json {
return {...
0
votes
1
answer
62
views
WSO2 APIM 4.2.0 is compliant with Security Advisory WSO2-2021-1738?
Currently we are evaluating WSO2 APIM 4.2.0. We like to know this version 4.2.0 is compliant with vulnerability reported in Security Advisory WSO2-2021-1738 (https://security.docs.wso2.com/en/latest/...
0
votes
0
answers
65
views
Unexpected Behaviour When Using Identifier First in WSO2 Version 7.0.0
Context:
WSO2 v7.0.0
Login flow:
Step 1: Identifier First
Step 2: Username and Password
Using Conditional Authentication Script
Scenario:
a. The user visits the first web application and tries to log ...
0
votes
1
answer
178
views
OAuth2 Token Request Fails with "Bearer token missing" – Help Needed (BA Perspective)
I'm a business analyst working on integrating one of our applications with WSO2 Identity Server to enable Single Sign-On (sso) using OAuth 2.0.
While configuring the SSO flow, I used the following ...
0
votes
1
answer
60
views
WSO2 APIM login operation in Authentication Admin service does not work
I'm following WSO2 Admin Services instructions for 4.5.0 version of WSO2APIM.
I can fetch WSDLs for different services and generate requests in SOAP UI, hovewer I can not login my admin user in ...
0
votes
1
answer
73
views
Password Grant Type is not visible in WSO2 Identity Server 7.0
I have created an application(pickup dispatch(WSO2 sample)) in WSO2 Identity Server 7.0 but I'm unable to create tokens using "Password" grant type and getting this error; "The ...
1
vote
1
answer
83
views
WSO2 IS 7.1.0 not send custom cliam in x-jwt-assertion header #24397
I am using wso2 is 7.1 and have configured it for third-party key manager in API Manager 4.5 wso2. I use a jar for x-jwt-assertion header. I create some new attributes in wso2 is 7.1 and I fill them ...
0
votes
0
answers
63
views
How to Measure Test Coverage for WSO2 Micro Integrator XML-based Artifacts?
I’ve recently moved from a Java/Spring Boot stack where I used tools like JaCoCo for code coverage to working with WSO2 Micro Integrator, where most of the integration logic is defined in XML-based ...
0
votes
0
answers
13
views
Install wso2 OpenBanking on Openshift
I don't see any document about installing wso2 OB on openshift?
Can you help me
I search link but I don't have any information about this?
Another question about wso2 OB database, is this using same ...
-1
votes
2
answers
78
views
Enabling email correction before Verification in WSO2 IS 7.1.0
With using JIT provisioning with federated idp in WSO2IS, a new user can be created with required claims (givenname, lastname) and later prompted email using missingClaim handler. After providing an ...
-1
votes
1
answer
119
views
How to configure elastic/kibana SSO openid with wso2?
I am trying to configure SSO using OpenID Connect with Elastic Kibana. I am using WSO2 version 7.0.0 and Elastic/Kibana version 8.18.1. I have enabled the 30-day trial period and also activated the 30-...
0
votes
0
answers
28
views
WSO2 ESB URL Rewrite doesn't work with PIPE character
I have a need to update query of a request whenever there is a specific symbol is present "|". I need to escape that character since it's redirected to a Tomcat server and Tomcat doesn't ...
0
votes
0
answers
78
views
How to add a custom header value as a JWT claim in WSO2 API Manager 4.3.0?
I'm working with WSO2 API Manager 4.3.0 and trying to add a custom claim to the JWT generated by the gateway.
Use case:
I want to send a custom HTTP header (e.g., X-Custom-Id) in the request to the ...
0
votes
0
answers
51
views
WSO2 APIM How to implement custom JWTTokenIssuer
We are trying to implement custom JWTTokenIssuer where we want to override signing algorithm from RSA256 to another.
But we faced with issue that our code wasn't executed and org.wso2.carbon.identity....
0
votes
1
answer
61
views
ERROR {JsonStreamBuilder} - Error occurred while processing document for application/json java.lang.reflect.InvocationTargetException
I'm on wso2 mi trying to log json response objeect returned from target endpoint the enpoint return json but when i tried to test wos2 exposed api i got:
[2025-04-17 17:26:04,349] ERROR {...
1
vote
2
answers
80
views
WSO2 API Manager 4.1.0 from VM - Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be "http" or "https" for CORS request issue
I am getting this error when i was trying to access it from VM (we have deployed api manager as a container), in local system it is working fine.
Getting below error in devportal:
https://localhost:...
0
votes
1
answer
80
views
WSO2 ID - Asgardeo - Design seamless self-registration experiences not working
I'm evaluating Asgardeo as a potential solution.
One of my requirements is the ability to customize the sign-up process — for example, by adding a "Terms of Use" checkbox.
The feature "...
0
votes
1
answer
428
views
WSO2 ID - Asgardeo federated login doesn't link to existing user account
Context:
I'm using WSO2 Asgardeo, and the automatic account linking doesn't seem to be working as I expected.
I have configured Just-In-Time (JIT) provisioning with Google as an identity provider.
...
0
votes
1
answer
56
views
Handling exceptions as bad Http Responses in a CustomEventHandler
How do you handle Exceptions when modifying the PRE_ADD_USER eventHandler, e.g:
When you are validating against something, and want the server to answer with HTTP code 400, instead of 500.
...
1
vote
1
answer
53
views
How to modify username in WSO2 IS 7.X.X in the event handler PRE_ADD_USER?
I'm extending the AbstractEventHandler because most of my users' claims values are filled from the data retrieved from a RestAPI response, which is already implemented, i've already done almost ...
0
votes
1
answer
106
views
WSO2 IS 7.1.0 GA: How to Get Token for Sub-Organization User Using Password Grant
I have configured wso2 identity server 7.1.0 GA as below:
create organization (orgA - 23d6071e-e64e-4992-b4fa-607b955af4a6)
inside suborganization i created user: orgA-user
Is is possible to get ...