What
Settings files can set environment variables for Claude Code. Several things changed in how that works:
- When
CLAUDE_CODE_REMOTEis true, no settings file can setCLAUDE_CODE_CUSTOM_OAUTH_URL, the custom sign-in address. A warning says so and tells you to set it in the environment Claude Code is started with instead. - AWS values supplied by your organization are now tracked separately from values you set yourself.
- Environment values from your organization's policy that control how Claude Code connects are now carried through.
Why
Settings managed by your organization now take priority over your own or a repository's settings for AWS credentials and connection settings. In remote sessions, a custom sign-in address has to come from the starting environment.