WSO2 APIM publisher keeps on redirecting once the password is changed - wso2

I have changed the password of WSO2 APIM, then when I try to access the publisher it keeps on redirecting and never loads. Tried clearing the cache too but didn't help.
Anyone experienced similar issue?
Thanks
Susi

had same problem, solved it by changing the admin username/password directly on the deployment.toml, in this section
[super_admin]
username = "admin"
Just change the password here and it will work.

Related

Coldfusion 10 admin password reset not working

When i reset CF admin password using passwordreset.bat , the reset happens and can see the change in password.properties file like below
password=
encrypted=false
when i restart CF service in windows, in password.properties i can see encrypted string,
But my changed password is not working when I try to log in to the coldfusion administrator.
I tried multiple times, but it did not work.
Please advise what is wrong. with my admin password reset.
One more issue when i set admin.security.disabled false in neo-security.xml, in coldfusion administrator when i submit any form(like enabling debugging settings), it throws error like "There was an error accessing this page, check logs for more details, click here to login"
I am using browser IE 11.
Thanks in advance
This issue solved when I add 127.0.0.1 to list of trusted sites.

Remember user and password in my Ionic APP

I have a problem because in my app I need to put a login and password to access and when I access and press physical button return of my smartphone and I leave my app, if I access appear again login page so... my app don't remember user and password. Somebody know how can I solve it?
Thanks in advance.
Best regards.
Just use nativeStorage from ionic-native:
https://ionicframework.com/docs/v2/native/nativestorage/
Your app shouldn't remember username and password. Your app should remember an access token (and refresh token) or similar and you could autofill the username and password when your token (or refresh token) expired.
If you use Capacitor you can check the implementation guide for autofilling credentials here:
https://capacitorjs.com/docs/guides/autofill-credentials

Error changing admin password wso2am-2.0.0 new install

I've changed the wso2carbon.jks keystore to my own store and my CA signed cert is working fine via a remote browser for https. However when I try to change the admin password via the carbon management console UI and restart the API manager I get problems with:
AMQConnection Unable to connect to broker at tcp://10.16.0.5:5673
org.wso2.andes.AMQException: Error occurred while establishing a connection
I'm running 2.0.0 of API manager on Ubuntu 14.04
I don't have enough points to comment on a similar issue:
WSO2 API Manager - Error changing admin password
but happy to experiment and isolate this bug. I could try to change the admin password for all references in xml files under conf if needed.
Please advise on the best way to change the admin password for API manager. I'm happy to do a clean install and see if I can just change the admin password. Please advise if I should use the UI or change in repository/conf files.
Search all xml files with "admin" references. What I can recall is, api-manager.xml, user-mgt.xml, identity.xml, etc.. You may also check out the related wso2 doc.
I've just worked through this issue with WSO2 support. In my case it had to do with the content of the password. I used the same admin password for v2 as I did for v1.10 but apparently the different frameworks in v2 has a problem with special characters in the password. More specifically, a '#' character. The link below was provided as a reference. Upon changing the admin password, both in the console and in the user-mgt.xml file, and restarting the product, I am no longer experiencing the exception.
https://wso2.org/jira/browse/APIMANAGER-4991

WSo2 EMM Store doesn't allow Admin login

When I try to log into the Store with the Admin account, it displays the following message:
No Privileges to login
You do not have permission to login to this application. Please contact your administrator and request permission.
I have checked and made sure the Admin account does indeed have the permissions it needs to log into the Store. I even created a new account and gave it all permissions, and it won't allow that account to log in either.
I even went as far as to dig into the database itself through MySQL, and best I can tell the proper permissions are there.
The last time this happened to me, I ended up unzipping a fresh copy of the EMM product and creating a brand new database for it because I couldn't figure out a solution. I tried unzipping a fresh copy of the EMM product, but running on the same database, it had no change in behavior. I have a database full of data I don't want to lose now, so I'd much rather find a fix than have to wipe it all out again!
WSo2 EMM 2.0.0
Windows Server 2012 R2
MySQL 5.5
EDIT: relevant logs:
TID: [-1234] [] [2016-03-25 05:21:19,862] WARN {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - Failed Administrator login attempt 'admin[-1234]' at [2016-03-25 05:21:19,862-0500]
TID: [-1234] [] [2016-03-25 05:21:19,862] WARN {org.wso2.carbon.server.admin.module.handler.AuthenticationHandler} - Illegal access attempt at [2016-03-25 05:21:19,0862] from IP address 10.200.201.108 while trying to authenticate access to service RemoteAuthorizationManagerService
TID: [-1234] [] [2016-03-25 05:21:19,909] WARN {JAGGERY.controllers.acs:jag} - User admin#carbon.super does not have permission to access the store application. Make sure the user has the store role.
I figured it out!
The issue is specifically triggered by changing the password on the admin account to anything but "admin". Changing it back appears to rectify the issue.
Obviously this is a bug, as the admin account should be able to have its password changed and still be able to log into the Store. To be clear, there was never any issue logging into the Publisher; just the Store. Additionally, if the admin password was changed, no accounts could log into the Store at all, regardless of their permissions level.
I tested this with a fresh EMM pack, version 2.0.0 and 2.0.1, using the H2 and MySQL 5.5. In all cases the issue occurred.
A bug report has been filed on WSo2's JIRA board here.
Is there are any configuration changes in your side.I got EMM 2.0.0 fresh pack and configure mysql 5.5.I tried to login emm store but It is working properly.
This issue is raised in once we are trying change the password from the EMM console. But We can change the admin password from the /repository/conf/user-mgt.xml
<AdminUser>
<UserName>admin</UserName>
<Password>admin</Password>
</AdminUser>
and /repository/conf/app-manager.xml admin credintials.

Error in Login to API Manager Publisher using admin previleges:

Getting Following Error when trying to log-in into API Manager- Publisher module, i can log-in to Administrator(Carbon) using admin privileges but cannot log-in to Publisher.
HTTPSender Unable to sendViaPost to url[https: //localhost:9443/services/AuthenticationAdmin] java.net.SocketException: Permission denied: connect
Did you change your admin username/password? If so, you have to provide correct username/password in the api-manger.xml at configuration
Posting an answer after long time the question was asked!
I faced the same error. I realized that I was connected to my clint's VPN before I started wso2 api manager. As soon as I disconnected from the client's VPN, I was able to login to store and publisher. I guess there is some security issue related to networks when it comes to Wso2.
Please check if this was the case with you too.
Hope it helps someone!