Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18452

Login by email not allowed using ezpRestBasicAuthStyle

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 2011.6
    • None
    • Operating System: Debian Lenny
      PHP Version: 5.3.6
      Database and version: 5.0.51a
      Browser (and version): ALL

    Description

      When ezpRestBasicAuthStyle authentication is set, it doesn't allows you to login using email and password.

      Maybe could be problems on client because the "double @":

      http://user@domain1.com:password@domain2.com

      But it can be solved by URL encoding both user and password values

      Steps to reproduce

      1. Configure rest.ini like

      [Authentication]
      RequireAuthentication=enabled
      AuthenticationStyle=ezpRestBasicAuthStyle
      

      2. Ensure authenticacion by email is enabled.

      AuthenticateMatch=login;email
      

      3. Try to access a REST API URL using email and password. Example: http://domain.com/api/ezc/v1/foo
      4. Access is denied

      Attachments

        Activity

          People

            unknown unknown
            tantajos tantajos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: