Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25975

Transform OAuth 1 pre-filter into a regular Authentication plugin

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Authentication
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      To activate OAuth 1, an <authenticationChain> must be defined to include <plugin>OAUTH1_AUTH</plugin>.

      Show
      To activate OAuth 1, an <authenticationChain> must be defined to include <plugin>OAUTH1_AUTH</plugin> .
    • Sprint:
      nxFG 10.3.8
    • Story Points:
      8

      Description

      NuxeoOAuthFilter is the last auth plugin pre-filter. It should instead be a regular authenticator.

      The issue with the pre-filter is that it takes over all authentication, in particular in case of failure it directly sends a 401 instead of chaining to other authenticators.

      We will:

      • add HTTP-level integration tests for the OAuth 1 protocol implementation
      • replace the pre-filter with a servlet + authentication plugin

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d