dotnet / dotnet/aspnetcore

Webassembly MSAL unsupported

Open
#61,360 4 comments 0 reactions 0 assignees View on GitHub
area-auth
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

It seems that [MSAL webassembly](https://github.com/dotnet/aspnetcore/blob/55a1ae7c6de104a9dc50d9dce8e44753ae82345a/src/Components/WebAssembly/Authentication.Msal/src/Interop/package.json#L12) is using a [deprecated](https://www.npmjs.com/package/@azure/msal-browser/v/2.28.3) version of msal-browser

This is related to [this issue](https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/7685)

Main issue is:
I want to send the `id_token_hint` to Azure AD B2C, this parameter is specified in the openid connect specs so I don't understand why it would let me send this thing out.

### Expected Behavior

I expect production code not to use deprecated libraries to do authentication

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

9.0.100

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.