Skip to content

Commit e9d1b70

Browse files
committed
chore: comment
1 parent 186839b commit e9d1b70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/identities/get-started/sign-in.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ to the registration page, it redirects to the login page.
5353
</FrameworkCodeTabs>
5454
```
5555

56-
You can alternatively set `return_to` to a custom URL. This URL will be used as the return URL for the login flow:
56+
You can alternatively set `return_to` to a custom URL. This custom URL must be allow-listed in your project's configuration;
57+
otherwise, the request will fail. If allow-listed, this URL will be used as the return URL for the sign in flow:
5758

5859
```bash
5960
https://$ORY_SDK_URL/self-service/login/browser?return_to=https://example.com/dashboard

docs/identities/get-started/sign-up.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ the Ory registration page.
6161
</FrameworkCodeTabs>
6262
```
6363

64-
You can alternatively set `return_to` to a custom URL. This URL will be used as the return URL for the sign up flow:
64+
You can alternatively set `return_to` to a custom URL. This custom URL must be allow-listed in your project's configuration;
65+
otherwise, the request will fail. If allow-listed, this URL will be used as the return URL for the sign up flow:
6566

6667
```bash
6768
https://$ORY_SDK_URL/self-service/registration/browser?return_to=https://example.com/dashboard

0 commit comments

Comments
 (0)