Guarantee privacy of your docs by authenticating users
Generate a private key.
Integrate Mintlify authentication into your login flow.
User
format. See Sending Data for more information./login/jwt-callback
path of your docs, including the JWT as the hash.docs.foo.com
with an existing authentication system at foo.com
. You want to extend your login flow to grant access to the docs while keeping your docs separate from your dashboard (or you don’t have a dashboard).Create a login endpoint at https://foo.com/docs-login
that extends your existing authentication.After verifying user credentials:https://docs.foo.com/login/jwt-callback#{SIGNED_JWT}
.https://docs.foo.com/quickstart
.https://foo.com/docs-login?redirect=%2Fquickstart
.https://docs.foo.com/login/jwt-callback?redirect=%2Fquickstart#{SIGNED_JWT}
.