I am running into a weird issue/bug with Blazor Server Side and ASP.NET Core Identity, and it only happens on Chrome. It works perfectly on Microsoft Edge. Basically to login, I am using the default ASP.NET Identity Razor Page (i.e. /Identity/Account/Login) that has been scaffolded in my project since there are issues using signInManager and userManager in Blazor components. The problem is that when I first launch my project from Visual Studio and try to sign in, it gets "stuck" trying to login (i.e. the redirect to the returnUrl never completes). I just see a message at the bottom of Chrome saying "Processing Request". Now, if I just navigate to the page directly, it will show me as signed in. Subsequent login/logout requests work perfectly. It only happens when I try to sign in the first time. I've done my research, and I'm out of ideas of what could be causing the problem. I've even played around with the AspNetCore.Identity.Application cookie and thought it might have something to do with SameSite attribute. I changed it to from Lax to Strict, but the problem still persists. If anyone has any ideas, I would appreciate you sharing.
Blazor Server Side Login Page Not Redirecting on Chrome
1.4k Views Asked by Ray At
1
There are 1 best solutions below
Related Questions in GOOGLE-CHROME
- detect requests calls in a url similar to network in chrome dev tools
- Html File Input on Chrome for Android missing extension and mime type
- Angular multiple http requests chrome android
- Interact with chrome bookmarks outside of extensions
- Animation Blink not working properly on Chrome
- Can't use subdomain in Chrome using Apache (XAMPP)
- How to start Chrome Hosted App in window?
- Webpage - Font size of table items on mobile phone browsers changes
- Could Not Instantiate Mail Function - PHPMailer - With Attachments - Only Google Chrome
- Chrome print preview disable only link location in footer and header
- CSS spinner sequence not working smoothly in iOS Chrome?
- google chrome remove automatically td when it is not in table and tr
- selecting and using textPath elements in Chrome
- Can I create and publish extension to the Chrome Store from my website?
- How can I get a button on the side of a text box to be perfectly aligned all the time?
Related Questions in AUTHENTICATION
- Access roles from multiple applications
- Different storyboard's entry points depending on a parameter
- SoundCloud Authentication Consistently Returns 401 invalid_grant For Some Users
- sendxmpp not authorized failure (Error AuthSend)
- Retrieve user information from Active Directory on login
- Log in through active directory
- Ember.js REST Auth Headers
- Validate Deezer access token on server
- Why does IIS Anonymous Authentication turn on by itself after I publish my project to server?
- Laravel - session data survives log-out/log-in, even for different users
- How can I share Azure Active Directory authentication between server side and client script?
- django rest framework - token authentication logout
- NameValuePair, HttpParams, HttpConnection Params deprecated on server request class for login app
- How to delete user from _User through Parse REST API
- Cannot login with new SQL User - SQL 2014
Related Questions in BLAZOR-SERVER-SIDE
- How to store data related to a Blazor Server circuit?
- MatTooltip not working with MatAutocompleteList in Blazor
- Uploading to Azure WebApp throws `ConnectionResetException: The client has disconnected`
- Response already started Exception has been thrown on HttpContext.SignOutAsync() method call in Blazor
- Blazor clear memory with IDisposable
- CascadedParameter: When is its value applied to my components property
- Is there a better way of displaying data in a table in Blazor?
- Getting SameSite cookie issues with Azure AD authentication with downstream WebAPI
- How to enforce HTTP (instead of HTTPS) while calling gRPC service from Server-Side Blazor
- Why does authorizeview roles="admin" crash my app?
- Troubleshooting ASP.NET Core Role-based Authorization with Windows Authentication
- OnInitializedAsync method is not getting call while changing the query string value
- Blazor loading animation for API vs. EF
- Update models in EF core after DBA change database schema
- Blazor sharing css style sheet and svg across multiple project
Related Questions in ASP.NET-IDENTITY-3
- asp.net 5, indentity 3 and modular projects
- How to register middle-ware for a Custom Asp.Net Identity Storage Provider using ASP-5 / MVC-6 / Identity 3
- Manage Custom User Properties at ASP.NET Identity 3 in MVC 5
- Inheritance one-to-one or zero relationship with IdentityUser class
- ASP.NET Core Identity: No service for role manager
- add-migration command fails on ApplicationDbContex
- Simple approach to multi-tenancy with Identity Framework. How to?
- ASP.NET Core error: Invalid token Error when implementing Forgot Password
- ASP.NET Identity with Sustainsys Saml2 - How to persist ExternalLoginInfo Claims?
- How to correctly create navigation property to table defined in different context?
- AddIdentityCore and IDataProtectorProvider in .NET Identity
- How can I update a user's claims after they have logged in using ASP.NET Identity
- Overriding SignInManager throwing an error on startup
- Identity server 3 remember me not working when we give "/identity" path
- How to check if AspNetUser satisfies condition before PasswordSignInAsync?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This appears to only be an issue in chrome when using a development certificate for https. After publishing to IIS and using a valid ssl cert, the problem appears resolved.