SEC-1336: OpenID attribute exchange failure with Yahoo and "count='2'" #1569

Closed
spring-issuemaster opened this Issue Dec 17, 2009 · 2 comments

1 participant

@spring-issuemaster

Stephen Crawley (Migrated from SEC-1336) said:

When I use the attribute exchange settings from the OpenId sample, and try to login to Yahoo, the login fails and I get the following in the log files.

2009-12-18 10:46:05,958 WARN [org.openid4java.message.ax.AxPayload] - Count parameter present for alias: email; should use email.[index] format
2009-12-18 10:46:05,959 DEBUG [org.springframework.security.openid.OpenIDAuthenticationFilter] - Authentication request failed: org.springframework.security.authentication.AuthenticationServiceException: Consumer error

If I remove the "count='2'" attribute, Yahoo login succeeds. If I try to login to Google (with "count='2'" there or not there), it succeeds.

The difference in behaviour between Google and Yahoo maybe related to Google understanding "http://schema.openid.net/" attributes and Yahoo not.

@spring-issuemaster

Luke Taylor said:

Please provide information on the configuration you were using and clarify why you think this is a bug in Spring Security, rather than a problem between the Openid4Java provider and the Yahoo implementation.

@spring-issuemaster

Luke Taylor said:

No further information provided so closing.

@spring-issuemaster spring-issuemaster added this to the 3.0.1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment