WSO2 Authentication Failed - wso2

I logged in as admin in the carbon/admin of the api management but I keep seeing this error when I access the statistics tab.
Authentication failed:Error processing data: java.io.IOException: Error looking up user javax.security.auth.login.AccountNotFoundException: Invalid User : guest {org.wso2.andes.server.handler.ConnectionStartOkMethodHandler}

Related

wso 2 3.0.0 alters not getting in admin portal for non admin users

I have done configuration like analytics worker - allINone wso2 3.0.0 and analytics dashboard
enabled alerts in analytics worker
through publisher setup alerts for response time and backend response time
logged in as admin user on devportal and tested API
logged in through the admin portal() and I can see alters for response time threshold
logged in to devportal as another user(non-admin)(but has all the roles) tested the API
logged in through the admin portal() and I cant see alters for response time threshold
response time threshold I have set as 1 milisec
Error in worker
[2020-09-11 11:22:59,710] ERROR {org.wso2.transport.http.netty.contractimpl.listener.SslHandshakeCompletionHandlerForServer} - Error while SSL handshake: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown

WSO2 API Manager Generating Key error using external LDAP

I added an external LDAP to WSO2 API Manager v1.9. When I log in to the API Store with a user from the external LDAP (internal LDAP that comes with WSO2 works fine) I get an error when I try to generate an OAuth2.0 Key from the My Subscriptions page. The error is a pop-up window that says "Error occurred while executing the action generateApplicationKey".
Is there something else I need to set for using an external LDAP?
ERROR {org.wso2.carbon.apimgt.hostobjecgts.APIStoreHostObject} - Error while obtaining the application access token for the application:itest {org.wso2.carbon.apimgt.hostobjecgts.APIStoreHostObject} org.wso2.carbon.apimgt.api.APIManagementException: Error occurred while Creating Keys.
at org.wso2.carbon.apimgt.impl.utils.APIUtil.handleException(APIUtil.java:1117)
....

WSO2 IS 5.0.0 error thrown then logging in as locked user

When using WSO2 IS 5.0.0 and setting a user account to locked, http://wso2.org/claims/identity/accountLocked, we get this error below when the login page posts back.
Authentication Error !
Something went wrong during the authentication process. Please try signing in again.
If the user is unlocked and login is re-attempted they will login successfully.
When looking at the wso2carbon.log on the IS we only see this error message recorded.
WARN {org.wso2.carbon.identity.mgt.IdentityMgtEventListener} - User account is locked for user : <user>. cannot login until the account is unlocked {org.wso2.carbon.identity.mgt.IdentityMgtEventListener}
Is there a way to prevent this exception or to catch it so that the login page is not replaced with an exception message?
Identity Server Login page resides in authentication-endpoint web app[1]. Login fail can be occurred due to reasons such as invalid credentials, invalid user and account Lock. It can be configured Identity server to send exact reason of login failure [2].
So, web app can be customized based on the login failure. (In your case account locking)
[1]https://docs.wso2.com/display/IS500/Customizing+Login+Pages
[2]https://docs.wso2.com/display/IS500/Customizing+Error+Messages

An error occurred while attempting to login via your social network account

Hi I am using django allauth I am getting this error every things in fine in code and api settings
An error occurred while attempting to login via your social network account.

wso2 identity server Multifactor Authentication error

I am unable to implement Multifactor Authentication .
The error i am getting is
TID: [0] [WSO2 Identity Server] [2012-10-30 10:31:38,620] ERROR {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider} - login failed. Trying again.. {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider}
SASL authentication failed:
at org.jivesoftware.smack.SASLAuthentication.authenticate (SASLAuthentication.java:209)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:301)
This is for wso2 Identity Server 3.2.3 . Straight out of the box. No additional configuration performed to run this instance of Identity Server.
It appears that signing in as admin , the ldap authentication is completed and then authentication with gtalk is attempted when the error occurs.
Should I be setting my own configuration in the identity.xml where gtalk is being set?
<MultifactorAuthentication>
<XMPPSettings>
<XMPPConfig>
<XMPPProvider>gtalk</XMPPProvider>
<XMPPServer>talk.google.com</XMPPServer>
<XMPPPort>5222</XMPPPort>
<XMPPExt>gmail.com</XMPPExt>
<XMPPUserName>multifactor1#gmail.com</XMPPUserName>
<XMPPPassword>wso2carbon</XMPPPassword>
</XMPPConfig>
</XMPPSettings>
</MultifactorAuthentication>
I found out that I do need to set up a Google talk account.
I added the new settings to the MultifactorAuthentication configuration.
I restarted the server.
I edited the user account with another new Google talk account.
I logged out.
Logged back in via relyingparty URL with openid,
received communication over gtalk requesting pin.
I entered the pin and got logged in.
It would have been nice if wso2 had I their documentation the need to setup the settings for this configuration to get multifactor authentication to work out of the box.