> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. ## OAuth logout endpoint security You can now configure a logout URL for OAuth authentication. When a user clicks **Logout**, Fern redirects them to your OAuth provider's logout endpoint to end their session, in addition to clearing the local session cookie. To set this up, send your logout URL (e.g., `https:///oauth2/logout`) to Fern alongside your other OAuth client details. Read the docs