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

Release/1.6.1 #2369

Merged
merged 44 commits into from
Oct 15, 2024
Merged

Release/1.6.1 #2369

merged 44 commits into from
Oct 15, 2024

Conversation

ameyapat
Copy link
Contributor

Proposed changes

Release 1.6.1

Type of change

  • Feature work
  • Bug fix
  • Documentation
  • Engineering change
  • Test
  • Logging/Telemetry

Risk

  • High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
  • Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
  • Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

ameyapat and others added 30 commits September 16, 2024 16:28
…nout

Support extra query parameters in logout endpoint
…-ado

Add job in PR validation pipeline to obtain PRAssistant review comments
Co-authored-by: Yong Zeng <zeyong@microsoft.com>
* Email OTP MFA Network layer implementation (#2275)

* add introspect request, response and error classes

* make authentication method fields mandatory, add validator code for introspect responses

* update signIN challenge request and response

* handle mfa required using suberror and not error code

* fix unit tests after new changes

* rename validate function and add new test for introspect required error result

* add new unit tests for introspect validation

* add new unit tests for token response validation - mfa required

* fix integration tests compilation error

* add new integration tests for introspect api

* - Adjustments in integration tests to align with mock API changes

* Address comments on PR

---------

Co-authored-by: Marcos Borges <marcosborges@microsoft.com>
Co-authored-by: Marcos Borges <116104275+borgesmb@users.noreply.github.com>

* first public interface draft

* add missing method in signINPasswordRequiredDelegate

* add dummy logic

* Add dedicated errors for MFA sub flow

* add optional new state to error callbacks

* Make channel type extensible

* Update and add new public comments

* fix compilation errors in E2E tests

* Fix typo and swiftlint warnings

* add base mfa states, return awaiting mfa on password required state

* add implementation for mfa required response after submitting a code

* handle remaning strongAuthRequired response

* handle introspect required and update todo comment

* add send challenge MFA business logic

* reuse code for send challenge method

* Email OTP MFA - public interface changes (#2296)

* first public interface draft

* add missing method in signINPasswordRequiredDelegate

* add dummy logic

* Add dedicated errors for MFA sub flow

* add optional new state to error callbacks

* Make channel type extensible

* Update and add new public comments

* fix compilation errors in E2E tests

* Fix typo and swiftlint warnings

* Address PR comments

* use same name for awaitingMFA method, add more details to the comment

* merge two mfa error and handle get auth methods request

* complete implementation of get auth methods method

* implement submit challenge reusing submit code function

* remove telemetry check in controller test. Delegate dispatcher should trigger telemetry

* Add unit tests for SendChallenge delegate dispatcher

* Add remaining tests for mfa delegate dispatchers

* add new unit tests for MFA error classes

* Writing tests for awaitingMFAState

* add unit tests for mfaRequiredState

* add new unit tests to existing signIn Controller

* add new test for sendChallengeState, add new class for MFA controller tests

* move mfa tests to dedicated class

* add new tests for mfa controller. Fix some bugs too

* add new tests for send challenge

* add new tests for get auth methods

* add new tests for submit Challenge, stop telemetry on successful result

* fix compilation error on integration tests

* rename sendChallenge to requestChallenge

* Address PR comments

* address PR comments. Fix bug around SSPR telemetry id

* address PR comments

* Email OTP MFA business logic (#2302)

* first public interface draft

* add missing method in signINPasswordRequiredDelegate

* add dummy logic

* Add dedicated errors for MFA sub flow

* add optional new state to error callbacks

* Make channel type extensible

* Update and add new public comments

* fix compilation errors in E2E tests

* Fix typo and swiftlint warnings

* add base mfa states, return awaiting mfa on password required state

* add implementation for mfa required response after submitting a code

* handle remaning strongAuthRequired response

* handle introspect required and update todo comment

* add send challenge MFA business logic

* reuse code for send challenge method

* merge two mfa error and handle get auth methods request

* complete implementation of get auth methods method

* implement submit challenge reusing submit code function

* remove telemetry check in controller test. Delegate dispatcher should trigger telemetry

* Add unit tests for SendChallenge delegate dispatcher

* Add remaining tests for mfa delegate dispatchers

* add new unit tests for MFA error classes

* Writing tests for awaitingMFAState

* add unit tests for mfaRequiredState

* add new unit tests to existing signIn Controller

* add new test for sendChallengeState, add new class for MFA controller tests

* move mfa tests to dedicated class

* add new tests for mfa controller. Fix some bugs too

* add new tests for send challenge

* add new tests for get auth methods

* add new tests for submit Challenge, stop telemetry on successful result

* fix compilation error on integration tests

* rename sendChallenge to requestChallenge

* Address PR comments

* address PR comments. Fix bug around SSPR telemetry id

* address PR comments

* Log a warning message and add warning on code documentation (#2306)

* add email otp mfa files to mac targets. Remove not used files

* Add E2E tests for email OTP MFA feature (#2331)

* add new e2e test for signIn with username and password and MFA

* add new end to end tests for mfa

* add missing E2E tests for email OTP MFA

* throw xctskip error to skip error

* refactor E2E tests

* rename internal test function

* send wrong code as string

* Refresh token, customise MFA required error description (#2322)

* add new error codes key and parse msid error codes

* add new error converter tests

* update changelog file

* add custom error message if error code is mfaRequired

* Add new unit tests for error codes handling

* add file to mac os target

* revert change for project file

* Add new MFARequestChallengeError and MFAGetAuthMethodsError (#2340)

* add period at the end of the sentence

* remove null pointer in project file

* remove trailing space and enable all mfa e2e tests

---------

Co-authored-by: Marcos Borges <marcosborges@microsoft.com>
Co-authored-by: Marcos Borges <116104275+borgesmb@users.noreply.github.com>
…id token after refresh (#2346)

* Update the current user account result data

* Made user account get access token testable
Added unit and e2e tests

* PR comments

* Fixed test around scopes after adding bundle id for IOS to client

* PR comments

* Added ConfigTested to validate config after being created
Made createRetrieveAccessTokenError and adjusted tests

* Reverted issue around UUID
# Conflicts:
#	CHANGELOG.md
#	MSAL/IdentityCore
#	Package.swift
@ameyapat ameyapat added the skip-native-auth-e2e-tests Only include this if Native Auth E2E tests are blocking the PR validation label Oct 15, 2024
@ameyapat ameyapat merged commit 3778f27 into main Oct 15, 2024
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-native-auth-e2e-tests Only include this if Native Auth E2E tests are blocking the PR validation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants