Cannot delete/refresh access tokens on firefox

You also cannot rename/delete repositories. Are there any known workarounds except temporarily switching to a chromium based browser?

2 Likes

If you’re unable to rename or delete repositories due to browser compatibility issues (e.g., using a non-Chromium-based browser), here are some workarounds you can try without switching to a Chromium-based browser:

1. Use GitHub CLI (gh)

The GitHub CLI (command-line interface) allows you to manage repositories directly from your terminal. You can use it to rename or delete repositories:

  • Renaming a repository:

bash

Copy code

gh repo edit OWNER/REPO --name NEW_NAME
  • Deleting a repository:

bash

Copy code

gh repo delete OWNER/REPO --confirm

2. REST API or GraphQL API

You can interact with the GitHub API to rename or delete repositories:

  • Rename repository (using the REST API):

bash

Copy code

curl -X PATCH -H "Authorization: token YOUR_GITHUB_TOKEN" \
     -H "Accept: application/vnd.github+json" \
     https://api.github.com/repos/OWNER/REPO \
     -d '{"name": "NEW_NAME"}'
  • Delete repository (using the REST API):

bash

Copy code

curl -X DELETE -H "Authorization: token YOUR_GITHUB_TOKEN" \
     -H "Accept: application/vnd.github+json" \
     https://api.github.com/repos/OWNER/REPO

3. Temporary Browser Settings Adjustment

If the issue is related to JavaScript or compatibility settings in your browser:

  • Enable compatibility mode or adjust any experimental settings causing issues.
  • Temporarily use a web-based alternative (e.g., GitHub Desktop) if the browser lacks full support.

4. Browser Extensions

If you are using a browser like Firefox, ensure that no restrictive add-ons or settings are blocking specific GitHub functionality.

5. Access GitHub via Mobile App

If you’re open to using mobile apps, the GitHub mobile app (available for iOS and Android) often provides full repository management capabilities.

1 Like

seems to work fine on private browsing, closing.

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.