Skip to content

Commit defc614

Browse files
Merge pull request #371 from kinde-oss/Feat/Preview-custom-design-gate
New topic - preview custom code
2 parents 37f711b + 40b276f commit defc614

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
page_id: a56552a5-e4eb-4c71-b44a-0070813de59f
3+
title: Preview custom code
4+
sidebar:
5+
order: 14
6+
relatedArticles:
7+
- 66f83c18-d261-48b8-a517-648ed1b7b064
8+
- b42663d8-5e2a-42cd-859a-f9737a1495df
9+
- 743d264d-ef08-4f2e-a42c-2b971152dccf
10+
- 94a22da4-2013-4253-99dc-d686861cc320
11+
---
12+
13+
<Aside type="upgrade">
14+
15+
You can only preview custom code if you are on a Kinde Plus or Scale plan.
16+
17+
</Aside>
18+
19+
Unlike changes you make in the Kinde UI that impact page layouts and content, your custom designs can’t be viewed in a Kinde-generated preview.
20+
21+
Instead, you can test designs using your real auth flow, using preview credentials.
22+
23+
## Preview custom code
24+
25+
1. In your application code, pass the additional auth url parameter `pages_mode=preview`. When the auth flow is initiated a password screen will appear which is required to view the preview.
26+
2. Enter your preview password. Go to **Design > Custom code > Preview**.
27+
2. Copy the **Password** and use it in the authentication request.
28+
29+
30+
The preview will show the latest code deployment version.

0 commit comments

Comments
 (0)