Skip to content

Add non-OTP E2E tests #7877

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

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft

Add non-OTP E2E tests #7877

wants to merge 4 commits into from

Conversation

yongdiw
Copy link
Contributor

@yongdiw yongdiw commented Jun 29, 2025

This pull request introduces a comprehensive implementation of a Native Authentication sample app using the Microsoft Authentication Library (MSAL) for JavaScript. The changes include detailed documentation, new core classes, and expanded functionality for authentication flows like sign-in, sign-up, and password reset.

Documentation Enhancements:

  • Added a new README.md for the Native Auth Sample, detailing authentication flows, project structure, key components, and end-to-end test cases. This includes configurations for email/password, email/OTP, and redirect-based flows, along with both positive and negative test scenarios.

Core Functionality:

  • Introduced the NativeAuthApp class in app.js as the main entry point for the application. It initializes the MSAL instance, handles navigation between forms, and provides methods for sign-in, sign-up, and password reset flows.

User Attribute Management:

  • Added the UserAccountAttributes class in UserAccountAttributes.js to manage custom user attributes like first name, last name, and display name. This supports the sign-up flow with customizable attributes.

@github-actions github-actions bot added documentation Related to documentation. samples Related to the samples apps for the library. labels Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation. samples Related to the samples apps for the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant