Spring Security
  1. Spring Security
  2. SEC-1336

OpenID attribute exchange failure with Yahoo and "count='2'"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: 3.0.0.RC2
    • Fix Version/s: 3.0.1
    • Component/s: OpenID
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Luke Taylor added a comment -

        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.

        Show
        Luke Taylor added a comment - 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.
        Hide
        Luke Taylor added a comment -

        No further information provided so closing.

        Show
        Luke Taylor added a comment - No further information provided so closing.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Stephen Crawley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: