-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add native auth e2e app #8176
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
base: dev
Are you sure you want to change the base?
Add native auth e2e app #8176
Conversation
samples/msal-browser-samples/NativeAuthSample/app/resetPassword/ResetPasswordUIManager.js
Fixed
Show fixed
Hide fixed
samples/msal-browser-samples/NativeAuthSample/app/signup/SignUpUIManager.js
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds a new Native Authentication sample application for MSAL.js to demonstrate native authentication capabilities. The PR includes a complete sample application with styling, configuration files, and PowerShell tooling for local development setup.
Key Changes
- New CSS styling for the Native Auth sample UI with responsive design and modern aesthetics
- Complete package-lock.json with all required dependencies for testing
- Jest configuration for end-to-end tests
- PowerShell script for retrieving authentication configuration from Azure Key Vault
Reviewed changes
Copilot reviewed 23 out of 24 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| samples/msal-browser-samples/VanillaJSTestApp2.0/app/nativeAuthSample/styles.css | Comprehensive CSS styling for the native auth sample with modern design patterns, responsive layouts, and animations |
| samples/msal-browser-samples/VanillaJSTestApp2.0/app/nativeAuthSample/package-lock.json | Complete dependency lockfile for the sample app with Jest, Express, and MSAL Browser dependencies |
| samples/msal-browser-samples/VanillaJSTestApp2.0/app/nativeAuthSample/jest.config.cjs | Jest configuration for E2E testing with Puppeteer preset and TypeScript support |
| samples/msal-browser-samples/VanillaJSTestApp2.0/app/nativeAuthSample/gen_env_native_auth.ps1 | PowerShell utility script to retrieve native auth configuration from Azure Key Vault for local testing |
| CODEOWNERS | Adds ownership assignment for the new native auth sample to the custom authentication team |
This pull request introduces a new Native Authentication sample application for MSAL.js, adds documentation, and updates build and ownership configuration for the new custom authentication module. The main changes include the addition of the sample app and its documentation, a new build configuration for the custom authentication UMD bundle, and updates to the code ownership file to reflect responsibility for the new sample.