Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14586

phpBB Oauth V1 Wrapper Support

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.8
    • Fix Version/s: 3.2.0-RC2
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      Openshift, MySQL 5.5.45 Community Server, PHP 5.4.40

      Description

      Hello,

      I needed some update on PhpBB 3.1.8 OAuth Wrapper to enable twitter OAuth V1.

      I simply updated the oauth.php file to handle V1 and V2 type of callback queries.

      Then I changed how the token_storage.php work with unique user / session_id fields to store token temporarily (needed to match the exact session for Token Secret changing each query)

      And lastly I provide my example for Twitter OAuth implementation that rely on OAuth V1 support.

      I'm not really a OAuth expert, I hope this can match most Oauth V1 providers, it should not change any behavior in OAuth V2...

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Leodagan Leodagan [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: