Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Login with Multi-Factor Authentication #735

Conversation

AngelRodriguez8008
Copy link
Contributor

@AngelRodriguez8008 AngelRodriguez8008 commented Jan 25, 2020

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (updates to documentation, formatting, etc.)

Description

Add support for Login with Multi-Factor Authentication
This comment documents the configuration, consider to add to the project Wiki

Issues addressed

Fix #726 Login to support multi-factor authentication (related to #653)
Fix SeleniumExtensions.WaitUntilAvailable (see my comment in #707)
May fix: #721

All submissions:

  • My code follows the code style of this project.
  • Do existing samples that are effected by this change still run?
  • I have added samples for new functionality.
  • I raise detailed error messages when possible.
  • My code does not rely on labels that have the option to be hidden.

Which browsers was this tested on?

  • Chrome
  • Firefox
  • IE
  • Edge

@dtu11 it was hard to merge with #734 can you please take a look at the methods:

  • WebClient.OpenApp:331: OpenApp
  • WebClient.Login:118: Login

@TYLEROL in commit: Add MFA Key to UCI Tests, I add the MFA SecrectKey to all UCI Tests. It is a simple change, however, I have none Environment without MFA to tests what happen if is MFA is not required & this Key is set to empty in app.config. Can you please check if it is working?
I wanted add the TestsBase to all UCI sample methods. I stops to doing it because for some unknown reason it broke the UCI Ordered Tests file and I was not sure if it was really desired; for samples porpoise may be not good.

…t disable by default) / Fix Tests is required
…/addMFA

# Conflicts:
#	Microsoft.Dynamics365.UIAutomation.Sample/TestSettings.cs
#	Microsoft.Dynamics365.UIAutomation.Sample/UCI/Create/CreateOpportunity.cs
#	Microsoft.Dynamics365.UIAutomation.Sample/UCI/UnifiedInterface.orderedtest
# Conflicts:
#	Microsoft.Dynamics365.UIAutomation.Api.UCI/WebClient.cs
#	Microsoft.Dynamics365.UIAutomation.Sample/TestSettings.cs
#	Microsoft.Dynamics365.UIAutomation.Sample/UCI/Create/CreateOpportunity.cs
#	Microsoft.Dynamics365.UIAutomation.Sample/UCI/UnifiedInterface.orderedtest

+ Fix SeleniumExtensions.WaitUntilAvailable
@AngelRodriguez8008 AngelRodriguez8008 changed the title Users/angel/add mf awith drivers path Add support for Login with Multi-Factor Authentication Jan 25, 2020
This was referenced Jan 30, 2020
Copy link
Contributor Author

@AngelRodriguez8008 AngelRodriguez8008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please @TYLEROL approve this PR

@AngelRodriguez8008
Copy link
Contributor Author

Thank you, very much @TYLEROL

@TYLEROL TYLEROL added this to the 9.1.0.12013 milestone Feb 6, 2020
@TYLEROL TYLEROL merged commit 2ae65b1 into microsoft:develop Feb 6, 2020
@AngelRodriguez8008 AngelRodriguez8008 deleted the users/angel/addMFAwithDriversPath branch February 7, 2020 23:30
@tristanperper
Copy link

Hi @AngelRodriguez8008 ,

I see the fix has been merged into develop. Should the Login With MFA be included into a new release anytime soon?

@AngelRodriguez8008
Copy link
Contributor Author

Hi @tristanperper,

Sorry I guest so. But I don't manage the releases, I also work just with the version in 'develop' branch or or one version of my fork. I don't know how oft will be or has been released.

br

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Login to support multi-factor authentication
3 participants