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: authentication-personalization/overview.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,16 +33,16 @@ Authentication and personalization offer multiple handshake methods for controll
33
33
* No restrictions on API URLs.
34
34
* Cons of JWT:
35
35
* Must be compatible with your existing login flow.
36
-
* Dashboard sessions and docs authentication are decoupled, so your team will log in to your dashboard and your docs separately.
37
-
* When you refresh user data, users must login to your docs again. If your users' data changes frequently, they must log in frequently or risk having stale data in your docs.
36
+
* Dashboard sessions and docs authentication are decoupled, so your team will log into your dashboard and your docs separately.
37
+
* When you refresh user data, users must log into your docs again. If your users' data changes frequently, they must log in frequently or risk having stale data in your docs.
38
38
39
39
**OAuth 2.0**: Third-party login integration like Google, GitHub, or other OAuth providers.
40
40
* Pros of OAuth 2.0:
41
41
* Heightened security standard.
42
42
* No restrictions on API URLs.
43
43
* Cons of OAuth 2.0:
44
44
* Requires significant work if setting up an OAuth server for the first time.
45
-
* Dashboard sessions and docs authentication are decoupled, so your team will log in to your dashboard and your docs separately.
45
+
* Dashboard sessions and docs authentication are decoupled, so your team will log into your dashboard and your docs separately.
46
46
47
47
### Available for authentication and partial authentication
48
48
@@ -74,13 +74,13 @@ Authentication and personalization offer multiple handshake methods for controll
74
74
75
75
## Content customization
76
76
77
-
All three methods allow you to customize content with these personalization features.
77
+
All three methods allow you to customize content with these features.
78
78
79
-
### Dynamic content
79
+
### Dynamic `MDX`content
80
80
81
81
Display dynamic content based on user information like name, plan, or organization.
82
82
83
-
The `user` variable contains information sent to your docs from logged in users.
83
+
The `user` variable contains information sent to your docs from logged in users. See [Sending data](/authentication-personalization/sending-data) for more information.
84
84
85
85
**Example**: Hello, {user.name??'reader'}!
86
86
@@ -121,7 +121,7 @@ Automatically populate API playground fields with user-specific values by return
121
121
122
122
### Page visibility
123
123
124
-
Restrict which pages are visible to your users by adding `groups` fields to your pages' frontmatter.
124
+
Restrict which pages are visible to your users by adding `groups` fields to your pages' frontmatter. By default, every page is visible to every user.
125
125
126
126
Users will only see pages for `groups` that they are in.
0 commit comments