Uploaded image for project: 'OAuth Module'
  1. OAuth Module
  2. OA-27

UpdateUserTask to ignore unmapped properties

    XMLWordPrintable

Details

    • M

    Description

      A post processor has been added to update User Info in OpenMRS from OpenID Data.
      The issues:

      1. if some properties are not present, it creates too many warnings (gender, middle name,...)
      2. if roles is not found in the OpenID user info, the roles of the user are cleared

      The expected behaviour:
      if some mappings are not defined in the file oauth2.properties, no operation should be done concerning the corresponding properties.
      For instance:

      • if the property openmrs.mapping.user.roles is not defined, the roles should not be updated and no warning in the logs
      • if the property openmrs.mapping.user.gender is not defined, the gender is not updated and no warning in the logs.
         

      Gliffy Diagrams

        Attachments

          Activity

            People

              jfigueiredo Joel Figueiredo
              frederic.deniger Frédéric Deniger
              Dimitri R Dimitri R
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: