Uploaded image for project: 'FHIR Module v2'
  1. FHIR Module v2
  2. FM2-443

AuthenticationFilter to allow requests with other authentication schemes to go through

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • FM2 1.3.0
    • FM2 1.4.0
    • None
    • None
    • L

    Description

      1. Background

      Steps to reproduce

      • Setup the OAuth2 Login module on a minimum OpenMRS distribution having the FHIR2 module
      • Obtain a bearers token and add it as Authorization header to a FHIR request on the setup OpenMRS instance
      • Confirm that the returned error code is 401 for all newly created non basic authentication scheme requests. See code base.

      This makes it impossible to use other authentication schemes like OAuth and others possible.

      2. Proposed fix

      The fix would have to be consistent with what the webservices.rest module does to make it possible for other authentication schemes request go through, see here.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                ruhanga Nathan Ruhanga
                ruhanga Nathan Ruhanga
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: