Cannot authenticate Mail Configuration in Crowd with OAuth 2.0

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 7.1.3
    • None
    • Severity 3 - Minor

      Issue Summary

      The customer is experiencing an issue configuring email sending via OAuth 2.0 in Crowd. Although the connection test shows success, the mail configuration fails with an error stating ‘Cannot test connection when the ‘send test email’ button is clicked.

      The 'save’ button is greyed out in the mail configuration page. The HAR file shows the following: 

      Please provide either an OAuth2 configuration ID and username or username and password 

      Steps to Reproduce

      1. Configure the mail server to use username & password authentication.
      1. Switch to OAuth2 authentication (via applink)
      1. The error will occur while sending the test mail.

      Expected Results

      Mail server configuration with OAuth 2 should be successful.

      Actual Results

      Configuration fails with the following error.

      Please provide either an OAuth2 configuration ID and username or username and password 

      Workaround

      Save the configuration by setting the authentication method to username and password and then change the auth method again to OAuth.

      1. Enter the Mail Configuration screen.
      1. Set Authentication Method to Username and Password → Password field will become available with no password provided
      1. Click Update → Update should be successful and confirmed by the Configuration Updated pop-up
      1. Switch Authentication Method back to OAuth2 (one previously configured)
      1. Click Authorize and use a valid account to authorize
      1. Click Sent Test Email and then save the configuration.

              Assignee:
              Unassigned
              Reporter:
              Sanjeev Rawat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: