Skip to content

Conversation

Copy link

Copilot AI commented Dec 12, 2025

Renamed environment variables CONSUMER_KEY and CONSUMER_SECRET to SALESFORCE_CONSUMER_KEY and SALESFORCE_CONSUMER_SECRET in __init__.py lines 38-39.

Changes:

  • Aligns naming with existing SALESFORCE_TOKEN_URL variable
  • Clarifies credential ownership and prevents namespace collisions
auth_data = {
    'grant_type': "client_credentials",
-   'client_id': os.environ.get('CONSUMER_KEY'),
-   'client_secret': os.environ.get('CONSUMER_SECRET')
+   'client_id': os.environ.get('SALESFORCE_CONSUMER_KEY'),
+   'client_secret': os.environ.get('SALESFORCE_CONSUMER_SECRET')
}
Original prompt

On init.py:38-38, Renames CONSUMER_KEY and CONSUMER_SECRET to be prefixed with SALESFORCE_


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…d SALESFORCE_CONSUMER_SECRET

Co-authored-by: cvanes <485408+cvanes@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename consumer key and secret with salesforce prefix Prefix CONSUMER_KEY and CONSUMER_SECRET with SALESFORCE_ Dec 12, 2025
Copilot AI requested a review from cvanes December 12, 2025 01:54
@cvanes cvanes marked this pull request as ready for review December 12, 2025 01:55
@cvanes cvanes merged commit 7b9f66c into main Dec 12, 2025
@cvanes cvanes deleted the copilot/rename-consumer-keys-prefix branch December 12, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants