We're updating the issue view to help you get more done. 

Yahoo login indicates "Login failed" despite login success

Description

Press the Login button, then press the Yahoo button and authenticate.

Despite a successful Yahoo login, I still get a "Login failed" message. Going by the below log, there appears to be a step where the Yahoo user id is null.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 10:48:42,144 INFO [org.zanata.security.ZanataOpenId] (default task-22) openid: https://me.yahoo.com/null 10:48:42,150 INFO [org.openid4java.discovery.Discovery] (default task-22) Starting discovery on URL identifier: https://me.yahoo.com/null 10:48:45,404 INFO [org.openid4java.discovery.yadis.YadisResolver] (default task-22) Yadis discovered 1 endpoints from: https://me.yahoo.com/null 10:48:45,405 INFO [org.openid4java.discovery.Discovery] (default task-22) Discovered 1 OpenID endpoints. 10:48:45,405 INFO [org.openid4java.consumer.ConsumerManager] (default task-22) Trying to associate with https://open.login.yahooapis.com/openid/op/auth attempts left: 4 10:48:46,607 INFO [org.openid4java.consumer.ConsumerManager] (default task-22) Associated with https://open.login.yahooapis.com/openid/op/auth handle: [redacted] 10:48:46,608 INFO [org.openid4java.consumer.ConsumerManager] (default task-22) Creating authentication request for OP-endpoint: https://open.login.yahooapis.com/openid/op/auth claimedID: https://me.yahoo.com/null OP-specific ID: https://me.yahoo.com/null 10:48:46,616 INFO [org.zanata.ui.faces.FacesMessages] (default task-22) message to user (wid: -7344): Login failed) 10:48:49,078 INFO [org.openid4java.consumer.ConsumerManager] (default task-24) Verifying authentication response... 10:48:49,079 INFO [org.openid4java.consumer.ConsumerManager] (default task-24) Received positive auth response. 10:48:49,079 INFO [org.openid4java.discovery.Discovery] (default task-24) Starting discovery on URL identifier: https://me.yahoo.com/a/[redacted] 10:48:49,816 INFO [org.openid4java.util.HttpCache] (default task-24) Returning cached GET response for https://open.login.yahooapis.com/openid20/user_profile/xrds 10:48:49,845 INFO [org.openid4java.discovery.yadis.YadisResolver] (default task-24) Yadis discovered 1 endpoints from: https://me.yahoo.com/a/[redacted] 10:48:49,845 INFO [org.openid4java.discovery.Discovery] (default task-24) Discovered 1 OpenID endpoints. 10:48:49,856 INFO [org.openid4java.consumer.ConsumerManager] (default task-24) Found association: [redacted] verifying signature locally... 10:48:49,863 INFO [org.openid4java.consumer.ConsumerManager] (default task-24) Verification succeeded for: https://me.yahoo.com/a/[redacted] 10:48:51,751 INFO [javax.enterprise.resource.webcontainer.jsf.renderkit] (default task-26) WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. sourceId=null[severity=(ERROR 2), summary=(Login failed), detail=(Login failed)]

Environment

F22, firefox, release branch at 5a6f42d9dcee3b286ad88338e7df6675ee2393ff

Status

Assignee

Carlos Munoz

Reporter

Damian Jansen

Tested Version/s

None

Time tracking

3h 30m

Components

Sprint

None

Fix versions

Affects versions

server-3.9.0

Priority

Medium