Skip to content

Add support for Login with Multi-Factor Authentication - #735

Merged
Tyler Olson (TYLEROL) merged 8 commits into
microsoft:developfrom
AngelRodriguez8008:users/angel/addMFAwithDriversPath
Feb 6, 2020
Merged

Add support for Login with Multi-Factor Authentication#735
Tyler Olson (TYLEROL) merged 8 commits into
microsoft:developfrom
AngelRodriguez8008:users/angel/addMFAwithDriversPath

Conversation

@AngelRodriguez8008

@AngelRodriguez8008 Angel A. Rodriguez (AngelRodriguez8008) commented Jan 25, 2020

Copy link
Copy Markdown
Contributor

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

Daren Turner (@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

Tyler Olson (@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 Angel A. Rodriguez (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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Please Tyler Olson (@TYLEROL) approve this PR

@AngelRodriguez8008

Copy link
Copy Markdown
Contributor Author

Thank you, very much Tyler Olson (@TYLEROL)

@tristanperper

Copy link
Copy Markdown

Hi Angel A. Rodriguez (@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
Copy Markdown
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