Skip to content

Conversation

@shylasummers
Copy link
Contributor

PR to run #7653 by @bradkovach against CI.

@github-actions github-actions bot added the msal-angular Related to @azure/msal-angular package label May 12, 2025
@shylasummers shylasummers marked this pull request as ready for review May 12, 2025 20:38
@shylasummers
Copy link
Contributor Author

Hi @bradkovach, we needed to make a new PR for your change since some pipeline checks will fail automatically on external PRs. This PR preserves the commit history of your previous PR.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Jun 16, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs: Attention 👋 Awaiting response from the MSAL.js team label Jul 1, 2025
tnorling
tnorling previously approved these changes Jul 1, 2025
This PR:

- Removes unused `CommonModule`
- Uses `styleUrl` instead of `styleUrls`
- Uses `inject` for DI
- Uses `takeUntilDestroyed` instead of `Subject/OnDestroy` approach
- Fixes indents

There is a typing issue, which is now solved by a generic in the
following line:
```ts
private msalGuardConfig = inject<MsalGuardConfiguration>(MSAL_GUARD_CONFIG);
```
I found a fix in the next PR:
#7484
After its merge, the generic can be removed:
```ts
private msalGuardConfig = inject(MSAL_GUARD_CONFIG);
```
@github-actions github-actions bot added the samples Related to the samples apps for the library. label Jul 1, 2025
@tnorling tnorling enabled auto-merge (squash) July 2, 2025 20:24
@tnorling tnorling merged commit ea6c026 into msal-v5 Jul 2, 2025
7 checks passed
@tnorling tnorling deleted the angularInjectionTokenFix branch July 2, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

msal-angular Related to @azure/msal-angular package samples Related to the samples apps for the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants