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
For Logto Cloud users, We've made it easy to let you "Bring your own UI" to Logto. Cloud users can now upload a zip file containing the custom UI assets in Logto Console -> Sign-in experience -> Custom UI. (Check out the [Bring your UI](/docs/recipes/customize-sie/bring-your-ui) page for more details.)
10
10
@@ -34,19 +34,19 @@ sequenceDiagram
34
34
```
35
35
36
36
But now since you are developing your own custom sign-in UI, you need a way to navigate to the custom sign-in UI pages running on your local machine instead.
37
-
This requires a local proxy to intercept the outgoing requests from your application and redirect them to your custom sign-in UI pages.
37
+
This requires a local tunnel service to intercept the outgoing requests from your application and redirect them to your custom sign-in UI pages.
38
38
39
39
Additionally, you need to interact with Logto's experience API to authenticate users and manage sessions.
40
-
This proxy will also help forward these experience API requests to Logto Cloud in order to avoid CORS issues.
40
+
This service will also help forward these experience API requests to Logto Cloud in order to avoid CORS issues.
41
41
42
-
The sequence diagram below illustrates how a successful "sign-in" flow works with your custom UI and the proxy in place:
42
+
The sequence diagram below illustrates how a successful "sign-in" flow works with your custom UI and the tunnel service in place:
43
43
44
44
```mermaid
45
45
sequenceDiagram
46
46
box Local machine
47
47
participant A as Your application
48
48
participant B as Your custom sign-in UI
49
-
participant C as proxy
49
+
participant C as Tunnel
50
50
end
51
51
box Logto Cloud
52
52
participant D as Logto Cloud auth endpoint
@@ -63,7 +63,7 @@ sequenceDiagram
63
63
A --> A: Handle the sign-in callback and<br/>the user is now authenticated
64
64
```
65
65
66
-
With the proxy in place, you can now develop and test your custom sign-in UI locally, without needing to upload the assets to Logto Cloud every time you make a change.
66
+
With the tunnel service in place, you can now develop and test your custom sign-in UI locally, without needing to upload the assets to Logto Cloud every time you make a change.
67
67
68
68
## Instructions
69
69
@@ -78,14 +78,14 @@ Then you can execute the command this way:
0 commit comments