Skip to content

Instantly share code, notes, and snippets.

@ben-alkov
Last active October 1, 2025 12:47
Show Gist options
  • Select an option

  • Save ben-alkov/76f662639ee4152cdb63f6cedaceab12 to your computer and use it in GitHub Desktop.

Select an option

Save ben-alkov/76f662639ee4152cdb63f6cedaceab12 to your computer and use it in GitHub Desktop.
Ferdium workaround for Gmail and Calendar

Note: It's a good idea to close the Dev Tools between apps if you have multiple apps needing this.

Get initial request

  1. Open |View| -> |Toggle Service Developer Tools|
  2. Go to the |Network| tab
  3. Enable |Preserve log|
  4. Perform your authentication flow and wait for the the blank end-page
  5. Find the cancelled ACS endpoint request
  6. Right-click the entry, and select "Copy as fetch"

Get final request

  1. Go to the |Console| tab
  2. Paste the request (you may need to type allow pasting and hit Enter first) and press enter
  3. Go back to the |Network| tab, you should now see that there is a new entry for a request to ACS (at the bottom of the list)
  4. In the |Response| view, locate the <script> tag pair and copy its code contents

Auth

  1. Go back to the |Console| tab, paste and press enter
  2. Profit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment