Skip to content

Regression, Blazor WASM OIDC login callback to not sent to the requested page when published #51870

Closed
@aguacongas

Description

@aguacongas

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I opened this issue #44973 for .Net 7 and it's occurs again for .Net 8 RC2

On login callback, the requested protected page should be display if the user has authorization. It was the case with .Net 6

Expected Behavior

The requested protected page should be display if the user has authorization

Steps To Reproduce

Using the code in the repo aguacongas/BlazorAuthIssue. It's a simple blazor wasm starter with OIDC authentication.

publish the server dotnet publish -c Release
Launch the published server with .\BlazorAuthIssue.Server.exe --urls http://localhost:5001
Click on Counter
Login with alice, pwd: Pass123$
The index page is displayed but the counter page should be displayed

Exceptions (if any)

No response

.NET Version

8.0.100-rc.2.23502.2

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions