-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Oqtane.Maui - "Remember Me" Control Not Functioning Properly in the .NET Maui application. #3581
Comments
@sbwalker as I said I would clean up these issues, this one seems to be my next concern while in the area of cookies with .NET MAUI is the login + remember me control. Really this is currently my last major concern with .NET MAUI is to allow users to save their credentials to avoid having to enter them each visit. The other 2 issues I have are not as big, but still a concern if we can handle them down the road in a more user friendly way. |
@thabaum the "Remember Me" functionality in Oqtane relies on cookies (like most web-based applications). Cookies are only applicable for interactions between a standard web browser and a server. Blazor Hybrid relies on a WebView component - which is NOT a standard browser. In fact it is just a wrapper around a native WebView component which is specific to each platform. For Windows, the native WebView is called WebView2 and is based on Edge - but does expose all of the same functionality as the Edge browser... by default it does not support cookies. There are ways within a MAUI application to add custom configurations for the WebView for each platform... however I have never seen a functional example for cookies. I will not be spending any time on this item, as it is not a high priority in comparison to other Oqtane items. The login is fully functional in its current form. |
@sbwalker Not a priority for Oqtane Framework, so this will be one I can work on and provide a pull request when I can zero in on the solution. Thank you for the added context it will help me with a possible solution. I will of coarse share anything I find out with the community. Since .NET MAUI is only a year or two old, some more issues will come I will post here to be aware of and I will tackle all I can with solutions. I look forward to more coming from other community contributors. I really appreciate all the clarifications as we pioneer Oqtane into the future. Your vast wisdom along with past experiences is of great value to this community, thank you! |
Issue: "Remember Me" Control Not Functioning Properly in Oqtane Framework
Problem Description
The "Remember Me" control in the Oqtane.Maui application is not functioning as expected, particularly in scenarios related to user login. The current implementation does not effectively leverage browser capabilities to remember accounts through cookies, impacting user experience.
Proposed Solution
It is recommended to utilize the official MAUI API for setting cookies, as outlined in the official documentation. By adopting this approach, we can enhance the "Remember Me" functionality and improve the seamless retention of user credentials.
Steps to Reproduce
Screenshots
(Firefox is my IDE default browser here, but should have same results in Edge as well)
.NET MAUI APP LOGIN
Additional Notes
The text was updated successfully, but these errors were encountered: