You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignIn/SignInPage.razor.cs
Copy file name to clipboardexpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUp/SignUpPage.razor.cs
/// Social sign-in functions seamlessly on web browsers and on Android and iOS via universal app links.
5
-
/// However, for blazor hybrid, a local HTTP server is needed to ensure a smooth social sign-in experience.
6
-
/// </summary>
7
3
publicinterfaceILocalHttpServer
8
4
{
9
5
intStart(CancellationTokencancellationToken);
6
+
7
+
/// <summary>
8
+
/// Social sign-in on the web version of the app uses simple redirects. However, for Android, iOS, Windows, and macOS, social sign-in requires an in-app or external browser.
9
+
///
10
+
/// # Navigating Back to the App After Social Sign-In
11
+
/// 1. **Universal Deep Links**: Allow the app to directly handle specific web links (for iOS and Android apps).
12
+
/// 2. **Local HTTP Server**: Works similarly to how `git.exe` manages sign-ins with services like GitHub (supported on iOS, Android, Windows, and macOS).
13
+
///
14
+
/// - **iOS, Windows, and macOS**: Use local HTTP server implementations in MAUI and Windows projects.
Copy file name to clipboardexpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Services/MauiLocalHttpServer.cs
Copy file name to clipboardexpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/.well-known/assetlinks.json
Copy file name to clipboardexpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Services/WindowsLocalHttpServer.cs
+6-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
usingEmbedIO;
2
2
usingSystem.Net;
3
-
usingSystem.Net.Http;
4
3
usingSystem.Net.Sockets;
5
4
usingEmbedIO.Actions;
6
5
usingBoilerplate.Client.Core.Components;
@@ -69,6 +68,12 @@ public int Start(CancellationToken cancellationToken)
0 commit comments