Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1603

Implement support for different verbs on OAuth Access/Request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.2
    • None
    • Java, PHP

    Description

      When I add this to my app.xml I get the error below in the app window:
      > <OAuth>
      > <Service name="concur">
      > <Access url="https://www.mysolutions.com/net2/OAuth/Access.ashx" method="POST"
      />
      > <Request url="https://www.mysolutions.com/net2/OAuth/Request.ashx" method="GET"
      />
      > <Authorization url="https://www.mysolutions.com/net2/OAuth/Login.aspx" />
      > </Service>
      > </OAuth>
      >
      > "Failed to load module prefs for app 'InstanceAppImpl

      {instanceAppID=5221, title='null', description='null', userID=2152, appURL='http://test-stuff/app.xml', appID=3258, appInstanceUUID=94567228-xxxx-xxxx-xxxx-3cd6c3303101, creationDate=Thu Aug 25 10:20:39 PDT 2011, modificationDate=Thu Aug 25 10:20:44 PDT 2011}

      '
      for this reason: org.apache.shindig.gadgets.spec.SpecParserException: Access@method must be
      identical to Request@method"
      >
      > Does OAuth spec define that one should use same methods for the endpoints? I cant find
      anything like that here: http://tools.ietf.org/html/rfc5849#section-2.1

      For reference:
      http://mail-archives.apache.org/mod_mbox/shindig-dev/201108.mbox/%3CCALuGr6YhPA+9c5FJN9_v7GCaRg3b086s+MVBu8Y-oO7uZ9rrUg@mail.gmail.com%3E

      Attachments

        Activity

          People

            Unassigned Unassigned
            weitzelm Mark Weitzel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: