Let users log in for customized documentation experiences
Generate a private key.
Integrate Mintlify personalization into your login flow.
User
format. See Sending Data for more information.docs.foo.com
. You want your docs to be separate from your dashboard (or you don’t have a dashboard) and enable personalization.Generate a JWT secret. Then create a login endpoint at https://foo.com/docs-login
that initiates a login flow to your documentation.After verifying user credentials:https://docs.foo.com#{SIGNED_JWT}
.https://docs.foo.com/page#jwt={SIGNED_JWT}&anchor={ANCHOR}
.Example:https://docs.foo.com/quickstart#step-one
https://docs.foo.com/quickstart#jwt={SIGNED_JWT}&anchor=step-one