{"action":"created","issue":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5205","repository_url":"https://api.github.com/repos/wso2/carbon-apimgt","labels_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5205/labels{/name}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5205/comments","events_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5205/events","html_url":"https://github.com/wso2/carbon-apimgt/issues/5205","id":304104584,"number":5205,"title":"Forgot Password email is not sent for tenants","user":{"login":"bhathiya","id":3960742,"avatar_url":"https://avatars2.githubusercontent.com/u/3960742?v=4","gravatar_id":"","url":"https://api.github.com/users/bhathiya","html_url":"https://github.com/bhathiya","followers_url":"https://api.github.com/users/bhathiya/followers","following_url":"https://api.github.com/users/bhathiya/following{/other_user}","gists_url":"https://api.github.com/users/bhathiya/gists{/gist_id}","starred_url":"https://api.github.com/users/bhathiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhathiya/subscriptions","organizations_url":"https://api.github.com/users/bhathiya/orgs","repos_url":"https://api.github.com/users/bhathiya/repos","events_url":"https://api.github.com/users/bhathiya/events{/privacy}","received_events_url":"https://api.github.com/users/bhathiya/received_events","type":"User","site_admin":false},"labels":[{"id":761829710,"url":"https://api.github.com/repos/wso2/carbon-apimgt/labels/APIM%202.2.0","name":"APIM 2.2.0","color":"96d858","default":false},{"id":683216316,"url":"https://api.github.com/repos/wso2/carbon-apimgt/labels/Priority/High","name":"Priority/High","color":"ff9900","default":false},{"id":82775695,"url":"https://api.github.com/repos/wso2/carbon-apimgt/labels/Type/Bug","name":"Type/Bug","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/milestones/17","html_url":"https://github.com/wso2/carbon-apimgt/milestone/17","labels_url":"https://api.github.com/repos/wso2/carbon-apimgt/milestones/17/labels","id":3174118,"number":17,"title":"2.2.0","description":"","creator":{"login":"bhathiya","id":3960742,"avatar_url":"https://avatars2.githubusercontent.com/u/3960742?v=4","gravatar_id":"","url":"https://api.github.com/users/bhathiya","html_url":"https://github.com/bhathiya","followers_url":"https://api.github.com/users/bhathiya/followers","following_url":"https://api.github.com/users/bhathiya/following{/other_user}","gists_url":"https://api.github.com/users/bhathiya/gists{/gist_id}","starred_url":"https://api.github.com/users/bhathiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhathiya/subscriptions","organizations_url":"https://api.github.com/users/bhathiya/orgs","repos_url":"https://api.github.com/users/bhathiya/repos","events_url":"https://api.github.com/users/bhathiya/events{/privacy}","received_events_url":"https://api.github.com/users/bhathiya/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2018-03-09T13:05:20Z","updated_at":"2018-03-12T05:48:43Z","due_on":"2018-03-15T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-03-10T20:57:49Z","updated_at":"2018-03-12T05:48:43Z","closed_at":"2018-03-12T05:48:43Z","author_association":"MEMBER","body":"\r\n**Description:**\r\nForgot Password email is not sent to tenants. This error is printed.\r\n\r\n```\r\n[2018-03-11 02:23:29,542]  INFO - jag Initiating password reset for [ bhathiya@x.com ]\r\n[2018-03-11 02:23:29,559]  INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2018-03-11 02:23:29,559+0530]\r\n[2018-03-11 02:23:29,561] ERROR - UserInformationRecoveryService 18003 invalid user : bhathiya@x.com\r\norg.wso2.carbon.identity.base.IdentityException: Failed access to unauthorized tenant domain\r\n\tat org.wso2.carbon.identity.base.IdentityException.error(IdentityException.java:52)\r\n\tat org.wso2.carbon.identity.mgt.util.Utils.validateTenant(Utils.java:84)\r\n\tat org.wso2.carbon.identity.mgt.util.Utils.processUserId(Utils.java:72)\r\n\tat org.wso2.carbon.identity.mgt.services.UserInformationRecoveryService.verifyUser(UserInformationRecoveryService.java:121)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)\r\n\tat org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)\r\n\tat org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)\r\n\tat org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)\r\n\tat org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)\r\n\tat org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)\r\n\tat org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:147)\r\n\tat org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:232)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:650)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:731)\r\n\tat org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)\r\n\tat org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)\r\n\tat org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:731)\r\n\tat org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:65)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n\tat org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)\r\n\tat org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)\r\n\tat org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)\r\n\tat org.wso2.carbon.event.receiver.core.internal.tenantmgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:48)\r\n\tat org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)\r\n\tat org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)\r\n\tat org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)\r\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)\r\n\tat org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/comments/372200192","html_url":"https://github.com/wso2/carbon-apimgt/issues/5205#issuecomment-372200192","issue_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5205","id":372200192,"user":{"login":"mushthaq33","id":15009816,"avatar_url":"https://avatars0.githubusercontent.com/u/15009816?v=4","gravatar_id":"","url":"https://api.github.com/users/mushthaq33","html_url":"https://github.com/mushthaq33","followers_url":"https://api.github.com/users/mushthaq33/followers","following_url":"https://api.github.com/users/mushthaq33/following{/other_user}","gists_url":"https://api.github.com/users/mushthaq33/gists{/gist_id}","starred_url":"https://api.github.com/users/mushthaq33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushthaq33/subscriptions","organizations_url":"https://api.github.com/users/mushthaq33/orgs","repos_url":"https://api.github.com/users/mushthaq33/repos","events_url":"https://api.github.com/users/mushthaq33/events{/privacy}","received_events_url":"https://api.github.com/users/mushthaq33/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T05:48:43Z","updated_at":"2018-03-12T05:48:43Z","author_association":"CONTRIBUTOR","body":"Fixed with https://github.com/wso2/product-apim/pull/2992"}}
{"actor":{"display_login":"mushthaq33"}}