> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rightbrain.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rightbrain.ai/_mcp/server.

# Custom Model Parameters and Secure Authentication

> Configure model parameters and integrate mobile or browser applications using OAuth with PKCE and discovery.

## What's New

### Custom Model Parameters

Configure custom parameters for your AI models including temperature, top-p, and other advanced settings to fine-tune task behavior for your specific needs.

### PKCE OAuth Support

Enhanced security for mobile and single-page app integrations. Use PKCE for public OAuth clients that cannot safely hold a client secret.

### Simplified OAuth Setup

Automatic OAuth discovery makes it easier for applications to configure authentication with Rightbrain without manual configuration.

## Improvements

* More flexible OAuth client management
* Better error messages for authentication issues
* Enhanced MCP server URL validation

## Current documentation

[Model governance](/docs/production/model-governance) · [Authentication](/docs/api/authentication)