callbackUrl property
String?
get
callbackUrl
Implementation
String? get callbackUrl {
final server = _server;
return server == null
? null
// Mirror the original codex-rs redirect URI exactly
// (server.rs: `format!("http://localhost:{port}/auth/callback")`)
// — auth.openai.com rejects 127.0.0.1 as an off-list host.
: 'http://localhost:${server.port}/auth/callback';
}