dotnet / dotnet/aspnetcore

Blazor WASM: Catch explicit navigation to authentication/login-callback and redirect to login

Open
#54,586 2 comments 1 reaction 0 assignees View on GitHub
area-blazor bug feature-authentication
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

Some of our end-users explicitly navigate to the `/authentication/login-callback` path of our site and end up stuck in the `CompletingLoggingIn` segment of `RemoteAuthenticatorView` and get the impression the site is "not working". Is there a way to capture an explicit navigation to `/authentication/login-callback` and differentiate it from a programmatic redirect after the user has entered their login details?

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

7

### 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.