Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14586

phpBB Oauth V1 Wrapper Support

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.0-RC2
    • 3.1.8
    • Authentication
    • None
    • Openshift, MySQL 5.5.45 Community Server, PHP 5.4.40

      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...

        1. phpbb-3.1.x-oauth-token_storage-v1.patch
          2 kB
          Leodagan [X]
        2. phpbb-3.1.x-oauth-v1.patch
          3 kB
          Leodagan [X]
        3. twitter.php
          3 kB
          Leodagan [X]

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

              Created:
              Updated:
              Resolved: