Integrate with your OAuth server to enable user login via the PKCE flow
Create your Info API
Configure your Personalization settings
Configure your OAuth client
foo.com/docs
.
To set up authentication with Mintlify, I create an endpoint api.foo.com/docs/user-info
which requires an OAuth access token with the docs-user-info
scope, and responds with the user’s custom data according to Mintlify’s specification.
I then go to the dashboard settings, navigate to the Personalization settings, select OAuth, and enter the relevant values for the OAuth flow and Info API endpoint:
https://auth.foo.com/authorization
ydybo4SD8PR73vzWWd6S0ObH
['docs-user-info']
https://auth.foo.com/exchange
https://api.foo.com/docs/user-info