Questions tagged [wso2]
Use for questions related to WSO2, Open Source Java based Middleware Service provider.
12,210
questions
0
votes
0
answers
44
views
WSO2 - Identity Server - Login page redirection
I have a web application that uses WSO2 identity server 6.1.0 for its login page. Whenever i enter the username and password under wso2 login form an error is displayed and in the logs i can see the ...
0
votes
1
answer
23
views
WSO2 Identity Server 5.11 : how to add query parameters to sms authentication endpoint url?
I have configured sms otp authentication using a custom authentication sms page as follows :
[authentication.authenticator.sms_otp.parameters]
TokenExpiryTime= "900"
screenUserAttribute = &...
0
votes
1
answer
27
views
Unable to capture XML response value to a property mediator
I have created a api using wso2 integration studio and below is the xml response sent to the post api.The api accept xml response.
<ns3:result xmlns:response="http://inforwisse.co.ts/broker/...
0
votes
0
answers
17
views
com/google/i18n/phonenumbers/NumberParseException in wso2 identity server
I'm using wso2 identity server 5.10 version, and when the user is registering his mobile number during sms authentication i'm splitting the user's phone with the country code and storing in msssql DB, ...
0
votes
0
answers
18
views
Enabling back button while SMS OTP Authentication to Update the Mobile number of the User in wso2 identity Server
I am using wso2 identity server 5.10 version and I have requirement where in I have to enable a back button to the user while he's in SMS OTP page Since because I have a scenario where in I have ...
0
votes
0
answers
20
views
Retry for failure endpoint automatically
im working wso2 mi 4.2.0 . in my integration, we using switch and calling multiple endpoints based on payload. in that we need to implement retry mechanism as below in one of the endpoint. its ...
0
votes
0
answers
46
views
unable to start wso2 as a service
Im trying to start wso2 as a service, however im getting below issue. please help how can i fix this
Sep 26 15:00:42 apim su[1244958]: pam_unix(su:auth): auth could not identify password for [testuser]...
0
votes
1
answer
19
views
How to retrieve operation value from SOAP payload using WSO2 Integration Studio
I have created a custom WSDL Definition using WSO2 Integration Studio ,I have different endpoint in the Backend,so i have in the WSDL many operations,How can i access operation value using WSO2.
The ...
0
votes
0
answers
20
views
Return the custom data in the OpenIdConnect token in WSO2
We need to send the custom data in OpenId Connect token returned by the WSO2 server.
When I will decode the JWT token we need something like as follows:- We need "data" attribute with json ...
0
votes
0
answers
11
views
Issue Creating Custom WSDL Definition using WSO2 Integration Studio 8.2
I have created a proxy service which call a rest Backend ,and it works fine,but i would like to implement a custom WSDL Definition ,i followed this documentation but it didn't work for me without ...
0
votes
0
answers
14
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
0
answers
28
views
WSO2 Identity Server (wso2is-5.11.0) - Blank page after logging in to the console
I'm using wso2is-5.11.0 and a blank page appears in once I enter my login credentials and hit on login. In the browser console, the following could be seen.
"Uncaught (in promise) Invalid ...
0
votes
0
answers
25
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?
0
votes
0
answers
23
views
Dynamically Fetch VFS Parameters from a Properties/Local Entry File
I am trying to setup a vfs proxy service in wso2, I want to set the vfs parameters of the proxy config using a properties or local entry file.
I tried using the Local Entries file in my ESB project ...
0
votes
0
answers
25
views
Enabling a back button to update the email ID after the user clicks on Register in self-registration-with-verification.jsp
I'm using Identity server version 5.10 fresh package, here I want to make customization where in the Self Registration process when
The user enters the firstname, lastname email id and other fields ...
0
votes
1
answer
62
views
WSO2 Identity Server (wso2is-5.11.0) - Error 405 - Method Not Allowed on Password Reset via Recovery Email
I'm using wso2is-5.11.0 and I'm trying to apply password reset via recovery email.
I followed the below documentation.
https://is.docs.wso2.com/en/5.11.0/learn/forced-password-reset/#password-reset-...
0
votes
1
answer
22
views
WSO2 - Identity Server - Adding multiple event handler
I have followed some tutorials related to creating custom event handlers for WSO2 identity server version 6.1.0 (latest). My question is can we add multiple event handlers at the same time?
For ...
0
votes
1
answer
25
views
WSO2 - Identity Server - Update username
Is it supported in WSO2 to update the user username? in the console screen it is not possible, but is there a way to do it?
From API level /t/tenant1/scim2/Users/b39e1b3d-199c-4a39-ab1b-6566b3997f56:
{...
0
votes
1
answer
49
views
Wso2 Identity Server 5.11: validate-code api not working as expected
I am trying to implement this feature for mobile update verification.
When I try to validate the code using the validate-code api as described in the documentation above I have 2 different response ...
0
votes
1
answer
37
views
How is WSO2 API manager perform OAuth2.0?
I am new to WSO API manager and have basic idea of oAuth 2.0.
I want to secure my API through key manager of WSO2. For this i followed following steps:
Created user "dilip" using carbon ...
0
votes
1
answer
47
views
How to read the single header value when it contains special characters in Ballerina
I need to read the "X-JWT-Assertion" with the request.
Usually, we could use the following technique to read "Connection" header parameter.
resource function get menu(@http:Header ...
0
votes
0
answers
39
views
wso2 is Custom Permission Claim Handler missing maven dependencies
After attempting to retrieve permission in the access token, I came across this solution. However, after following the steps, I encountered an issue where I couldn't obtain the 'org.wso2.carbon.user....
0
votes
0
answers
19
views
WSO2 esb 6.6 accept custom http method
how to accept custom http method like getAC or writeOc on wso2 ESB 6.6 instead of POST, GET, etc.
0
votes
0
answers
26
views
Issue retrieving WSDL Definition from Publisher Portal after migration using WSO2 APICTL 4.1.0
Issue retrieving WSDL Definition from Publisher Portal after migration the API from Dev Env to Prod Env using WSO2 APICTL 4.1.0
we have executed those command and we didn't get any error :
apictl ...
-1
votes
0
answers
47
views
How to use modules in Ballerina for more than one subscribers
I want to create two subscribers for one topic under one Ballerina project? How can I achieve that?
0
votes
0
answers
23
views
Devportal URL customization is not working (wso2 4.1)
I met some dificulties while customizing my devportal url. I need to change the path by changing 'devportal' to 'newname'.
I'm working with WSO2 4.1.
I first tried to change directly the context. To ...
1
vote
1
answer
36
views
WSO2 - Identity server 6.1.0 - Force user to change his password on first login
Is it possible using Identity server 6.1.0 to force the user to change his password on first login ?
I did not find anything in the documentation, but in this case should we use reset password feature ...
-1
votes
2
answers
106
views
Subscribers in Ballerina
How to create two subscribers (subscriber1, subscriber2) for one topic in one Ballerina project?
My approach is as follows :
Create init() function
initialize two ASBServiceReceiverConfig receiver1 ...
0
votes
1
answer
40
views
Type Narrow Issue
I have tried a sample Ballerina code below.
type RecordSample record {|
int x;
|};
class testClass {
RecordSample|error sampleVariable;
function init() {
self.sampleVariable = ...
0
votes
0
answers
37
views
Identity Server - Password expiry feature
I am trying to enable password expiry using the following setup: https://github.com/wso2-extensions/identity-outbound-auth-passwordPolicy/blob/master/docs/config.md
I applied all the steps except for ...
0
votes
1
answer
45
views
When trying to send an API request the very first API request gets failed each day or after some time lap
The APIM is running 24/7 on my server, sometimes I have experienced below response. But in the very next request passes successfully. This is happening intermittently,have not identified any pattern ...
0
votes
1
answer
69
views
Destructured rest variable contains other fields as `never` type and cannot be used in assignment directly
Check the following ballerina code
type Student record {|
string name;
string school;
|};
type HolidayRequest record {|
record {|
*Student;
int noOfDays;
|} student;
...
0
votes
0
answers
22
views
How can I be redirected to another application through wso2 apim
I wish to know how to to access an application passing through wso2 apim. I do not want to go straight to the applications but instead I want to hit a certain wso2 url on my browser, lets say I hit ...
1
vote
0
answers
63
views
[WSO2 APIM ][4.1] SSL peer shut down incorrectly
I have installed a distributed WSO22 APIM platform (4.1 version).
I used the same automation scripts to install the platform in two environments. One of the two platforms does not work correctly. The ...
0
votes
0
answers
26
views
How can I take the body element ($body) from a call to a back-end service in Integration Studio 8.0.0 WSO2?
I need help for the following example that I am trying to practice, an example that I have created in the Integration Studio 8.0.0 attachment capture and the code XML file, in the Runtime of the ...
-1
votes
1
answer
32
views
Uploading WSO2 Integration Studio 8.0.0 API Project in API Publisher Portal ( API Manager 3.1.0)
I would like someone to answer my question:
how a project created in Integration Studio 8.0.0 can be imported into the API Publisher Portal of the API Manager 3.1.0 .
I have performed the steps ...
0
votes
1
answer
46
views
WSO2 - Identity server - Getting user ID after self registration
I am using the following API to create a user under WSO2 identity server: /api/identity/user/v1.0/me with self registration process. The result in case of success is 201 created and an email is ...
0
votes
0
answers
26
views
Logout error with OIDC connection (WSO2 4.1 & IS 5.11)
I have a common problem with my OIDC connection : I can't logout properly from my Devportal.
When I logout, an error shows up : "ID token signature validation failed.".
Also, I have this log ...
0
votes
0
answers
29
views
AWS S3 URL getting encoded when downloading image file
Need help with the following issue.
The parameter in Aws S3 image url getting encoded when trying to download via wso2 process.
for example Signature sent in parameter along with image url is
"...
0
votes
0
answers
33
views
Identity Server Login Failure
I'm experiencing a server login failure with SAML WSO2 identity version 5.10 on Windows.
The issue seems to be related to the WSO2 IdP server. After some in-depth debugging, it looks like the server ...
0
votes
1
answer
46
views
Data service returning a XML instead of a JSON response
I've created a wso2 data service to retrieve a list of products from a PostgreSQL database:
<data name="ProductListDS" serviceNamespace="" serviceGroup="" transports=&...
0
votes
0
answers
23
views
Unable to Expose Excel Data as a Data Service using WSO2 Integration Studio 8.2.0
My use case is to Exposing Excel Data as a Data Service using WSO2 Integration Studio 8.2.0 ,but it didn't work .
This is my dataservice Configuration :
<data transports="http https local"...
-2
votes
0
answers
16
views
I am trying to load wso2 api manager 4.2.0 in drupal with iframe
I am not sure what are configurations to be done in wso2 api manager 4.2.0 about X-frame options to see wso2 api manager with iframe.
Below is iframe code i am trying with
<p>
<iframe src=&...
0
votes
1
answer
57
views
WSO2 - Identity Server - Sending SMS on self user registration by API
I am calling /api/identity/user/v1.0/me API of WSO2 identity server 6.1.0 in order to self register a user, i added:
{
"uri": "http://wso2.org/claims/identity/preferredChannel",
&...
1
vote
1
answer
34
views
WSO2 Micro Integrator 4.1 does not update deployment artifact at runtime
WSO2 Micro Integrator 4.1 does not update deployment artifacts at runtime
When I deploy .car on the running instance of MI logs says, that it's deployed, but when make a post request the old version ...
0
votes
0
answers
34
views
WSO2 APIM Store API Redirecting to Login Page
We are in the process of migrating from WSO2 APIM 2.6 to 4.2. We are doing this by installing a new 4.2 on a new VM and migrating over. Both the old and new servers are fully scripted installations (...
0
votes
1
answer
19
views
WSO2 - Identity Server 6.1.0 Configuring Internal Crypto Provider
How can we configure Internal Crypto Provider ?
I tried to uncomment the following under the deployment.toml using info put under carbon.xml but it is not working.
[keystore.internal]
file_name = &...
0
votes
1
answer
24
views
Getting file size after file write operation in wso2
I have a scenario where I want to write xml content to a file in SFTP. I want to set property to check the file size of the file that is being written. If the property is empty it means the file is ...
0
votes
1
answer
62
views
How to manually upgrade WSO2 API Manager 4.0.0 to 4.1.0 or 4.2.0
How would you go about manually upgrading API Manager 4.0 to 4.1 or 4.2?
In the past, this used to be a section in the documentation, with instructions on how to upgrade from almost any version, but I ...
0
votes
0
answers
12
views
Superset URL is being encoded after using WSO2 Authentication
I have Superset web where we are using WSO2 as authentication.
I also have separate web where we can redirect into superset dashboard with URL have query to Superset filters, which ofcourse have a ...