Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reusable workflow to delete environment and revoke Salesforce token #52

Open
wants to merge 1 commit into
base: cumulusci-next-snapshots
Choose a base branch
from

Conversation

jlantz
Copy link
Contributor

@jlantz jlantz commented Oct 31, 2024

Add a new reusable workflow to delete an environment and revoke the Salesforce token.

  • New Workflow: Add delete-environment.yml to .github/workflows/ to delete an environment and revoke the Salesforce token.
    • Include steps to authenticate to DevHub, delete the environment, and revoke the Salesforce token using new d2x commands.
  • New Command: Add revoke_sf_token function in d2x/auth/sf/auth_url/__init__.py to handle token revocation.
    • Implement the function to make API calls to Salesforce for token revocation.
    • Add necessary imports for the new function.
  • Documentation: Update README.md to document the new workflow and command with usage instructions.

For more details, open the Copilot Workspace session.

Add a new reusable workflow to delete an environment and revoke the Salesforce token.

* **New Workflow**: Add `delete-environment.yml` to `.github/workflows/` to delete an environment and revoke the Salesforce token.
  - Include steps to authenticate to DevHub, delete the environment, and revoke the Salesforce token using new d2x commands.
* **New Command**: Add `revoke_sf_token` function in `d2x/auth/sf/auth_url/__init__.py` to handle token revocation.
  - Implement the function to make API calls to Salesforce for token revocation.
  - Add necessary imports for the new function.
* **Documentation**: Update `README.md` to document the new workflow and command with usage instructions.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/muselab-d2x/d2x/tree/cumulusci-next-snapshots?shareId=XXXX-XXXX-XXXX-XXXX).
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.

1 participant