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

Fix OAuth2 client registration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0, 7.10-HF27, 8.10-HF09
    • Fix Version/s: 9.3
    • Component/s: OAuth

      Description

      The OAuth2 code confuses the id and clientId fields of the oauth2Clients directory.

      The unit tests pass because for unit tests it's defined as having clientId as the id field, but the deployed configuration uses id as an auto-incremented id field. If one replaces the content of directory-test-config.xml with that of directory-contrib.xml then tests fail.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 hour
                  1h