Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1559

MS Graph API Connector: Implement Authenticate() call

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.19.6
    • 1.5.20.0
    • MS Graph API Connector
    • None

    Description

      Implement the ICF Authenticate() method so that one can authenticate a user on Azure AD from IDM REST interface:

       

       

      POST /openidm/system/msgraph/user?_action=authenticate
      
      {
           "username" : "bjensen@tenant.onmicrosoft.com",
           "password" : "Passw0rd"
      }
      
      a successful authentication would return the user id as defined by ICF:
      
      {
          "_id": "128b7f5c-d4ba-4ae4-8ad2-8c5c4ab2ac97"
      }
      
      Bad credentials would return:
      
      {
          "code": 401,
          "reason": "Unauthorized",
          "message": "Invalid credential has been provided to operation ACTION for system object"
      }
      
      any other error would return a code 500 - Server Error
      
      

       

      Attachments

        Issue Links

          Activity

            People

              gael Gael Allioux
              gael Gael Allioux
              Son Nguyen Son Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: